Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Building fact tables in a data warehouse

Building fact tables in a data warehouse

From: Thomas Day <tomdaytwo_at_gmail.com>
Date: Fri, 21 Dec 2007 10:17:27 -0500
Message-ID: <9f0e18730712210717x2bf39b8ewfadb8b4385271801@mail.gmail.com>


I'm just wondering if anyone has any insights on how to speed this up.

Our fact tables consist of the primary keys of the involved dimension tables plus numeric count columns.

To build our fact table, let's call it Z (as I understand the process) we grab the primary key of the row in dimension A plus information which we can use to find the associated row in dimension B. We go to dimension B, grab the primary key plus information which allows us to find the associated row in dimension C, and so on through 8 dimension tables.

This gives us one row in the fact table.

This worked OK for our ETL developers when we were dealing with 10,000 rows in the development database.

Now we're working with a much larger source set and we're talking 100,000,000 rows. It doesn't work that well. Basically, each row in the fact table requires full a index scan and a rowid fetch from each of the dimension tables.

Does anybody have experience or even a theoretical insight into a better way to do this?

Thanks

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Dec 21 2007 - 09:17:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US