Fact Table Loads
2 posters
Page 1 of 1
Fact Table Loads
Here is a scenario:
* Fact table contains 100 million records
* Monthly Load of 10million is done at the end of the month to the same fact table
In this scenario, how do you handle the indexes in fact table at the time of load?
If indexes are made unusable before load, then the rebuild index is time consuming after the load.
So, what strategy do you follow in such scenarios?
How do we ensure that the data is made available to the users in the shortest possible time. (Assume we could receive data only in the end of the month and should be made available the earliest in the fact table for detailed drilling purposes)
- Thanks,
bi_at_nj
* Fact table contains 100 million records
* Monthly Load of 10million is done at the end of the month to the same fact table
In this scenario, how do you handle the indexes in fact table at the time of load?
If indexes are made unusable before load, then the rebuild index is time consuming after the load.
So, what strategy do you follow in such scenarios?
How do we ensure that the data is made available to the users in the shortest possible time. (Assume we could receive data only in the end of the month and should be made available the earliest in the fact table for detailed drilling purposes)
- Thanks,
bi_at_nj
bi_at_nj- Posts : 14
Join date : 2009-10-31
Re: Fact Table Loads
Partioning your fact table will definitely help you. After an appropriate partioning strategy is in place, you can try both the following approaches and pick up the one that is faster (it may depend on the datatypes and the actual data in the fact table):
1. Drop indexes before the load, load the data, rebuild the indexes.
2. Leave the indexes as they are. Don't drop them ever. Just keep loading data every day.
1. Drop indexes before the load, load the data, rebuild the indexes.
2. Leave the indexes as they are. Don't drop them ever. Just keep loading data every day.
amarpal- Posts : 3
Join date : 2010-01-14
Similar topics
» 'Routing' the grain of the fact table to multpile members of multiple dimensions causes the fact table to 'explode'
» Can a fact table be used as a source for populating another fact table
» How to create fact table with measures derived from comparing two fact table rows
» Healthcare Hospital Stay fact table - transaction fact table - a row for In and a row for Out?
» Design a snapshot Fact table in data mart from compliance-enable fact table in enterprise data warehouse
» Can a fact table be used as a source for populating another fact table
» How to create fact table with measures derived from comparing two fact table rows
» Healthcare Hospital Stay fact table - transaction fact table - a row for In and a row for Out?
» Design a snapshot Fact table in data mart from compliance-enable fact table in enterprise data warehouse
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum