Too many columns in fact table
3 posters
Page 1 of 1
Too many columns in fact table
How many columns are 'too many' in a fact table.
Is it advised to keep 100 columns in a fact table. What are the impacts of a fact table with too many columns.
Thanks.
Is it advised to keep 100 columns in a fact table. What are the impacts of a fact table with too many columns.
Thanks.
Guest- Guest
Re: Too many columns in fact table
Fact tables are the largest tables in a dimensional model. The basic concern with any fact table is performance. Most of the time, due to the nature of analytic queries, DBMS's will scan the full table rather than use indexes. The wider the table the more data needs to be handled, so it takes longer to query and longer to load.
100 columns seems to be excessive. Use of degenerate dimensions should be kept to a minimum. Rather than store orphan attributes in the table, they should be grouped into junk dimensions.
100 columns seems to be excessive. Use of degenerate dimensions should be kept to a minimum. Rather than store orphan attributes in the table, they should be grouped into junk dimensions.
Re: Too many columns in fact table
Fact tables are the largest tables in a dimensional model. The basic concern with any fact table is performance. Most of the time, due to the nature of analytic queries, DBMS's will scan the full table rather than use indexes. The wider the table the more data needs to be handled, so it takes longer to query and longer to load.
100 columns seems to be excessive. Use of degenerate dimensions should be kept to a minimum. Rather than store orphan attributes in the table, they should be grouped into junk dimensions.
100 columns seems to be excessive. Use of degenerate dimensions should be kept to a minimum. Rather than store orphan attributes in the table, they should be grouped into junk dimensions.
Re: Too many columns in fact table
Most RDBMS allow more than 1000 columns in a table. If performance is not the issue then you can have 100 columns in your Fact table. I had more than 600 columns in DB2, but performance started to degrade so I had to move some columns to a new fact table.
zoom- Posts : 97
Join date : 2010-08-23
Location : Chicago
Re: Too many columns in fact table
Just out of curiousity, Zoom, what type of business fact can have around 600 dimensions or measures?
Even when I think of some of the snapshot facts I've delivered over the years, 600 is a LOT.
Even when I think of some of the snapshot facts I've delivered over the years, 600 is a LOT.
Similar topics
» SK and ID columns in a Fact table
» Disadvantage of Fact table with 44 columns
» Finding the grain with One-To-Many fact tables.
» Should rule-derived columns go into the fact table?
» Can a FACT table contains Natural Primary keys and text columns
» Disadvantage of Fact table with 44 columns
» Finding the grain with One-To-Many fact tables.
» Should rule-derived columns go into the fact table?
» Can a FACT table contains Natural Primary keys and text columns
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum