To reuse or not to reuse staging table - That is the question
4 posters
Page 1 of 1
To reuse or not to reuse staging table - That is the question
I have a large staging table that I use to stage order, sub-order, product, and product part information. This staging table supports a fact table at the same grain. I need to create a new fact table at a different grain (one row per order). Should I reuse this same staging table to populate my new fact table, or would it be better to create a new one.
Thanks for reading.
Thanks for reading.
cjrinpdx- Posts : 51
Join date : 2011-07-14
Location : Portland, OR
Re:To reuse or not to reuse staging table - That is the question
Hi,
basucally the stage should be associated with the source, if the source is the sam ethen you can use the same stage table and if it is a new source then it is better to create a new source.
thanks
basucally the stage should be associated with the source, if the source is the sam ethen you can use the same stage table and if it is a new source then it is better to create a new source.
thanks
hkandpal- Posts : 113
Join date : 2010-08-16
Re: To reuse or not to reuse staging table - That is the question
Either you can roll up the grain to Order level while populating the data into Order Fact from exisiting staging table or create a new staging table with Order roll up data in it and directly move the data into Order Fact. Which one is easier?
MSR1987- Posts : 2
Join date : 2012-06-05
Re: To reuse or not to reuse staging table - That is the question
cjrinpdx wrote:I have a large staging table that I use to stage order, sub-order, product, and product part information. This staging table supports a fact table at the same grain. I need to create a new fact table at a different grain (one row per order). Should I reuse this same staging table to populate my new fact table, or would it be better to create a new one.
Thanks for reading.
Is this a raw data staging table or a transformed (i.e. fact table format) staging table? If it is the latter and the content represents the net change to the facts, then sure, you can use it to load aggregates of the base fact table. If the staging table represents the raw data, no, I wouldn't do it that way.
Similar topics
» Incremental Loading of Staging Table - Re-running Import for Same Window
» New to DW and question about fact table
» Newbie's question regarding FACT table
» Question for count in fact table
» basic question, change DIM table
» New to DW and question about fact table
» Newbie's question regarding FACT table
» Question for count in fact table
» basic question, change DIM table
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum