Junk dimension approach
2 posters
Page 1 of 1
Junk dimension approach
We have fact table which is related to 10 lookup table each contains status or description/columns. Which is the best approach for designing text columns.
1. Keeping the text columns in fact table. But the size of the fact and update if required is concern
2. Grouping all the text column into single dimension by referencing with fact table id. Again fact table count and dimension count will be same. Say if 1M record in fact then 1M record in dimension as this dimension is loaded by referencing fact table.
3. Creating one or more junk dimension by grouping related text columns by considering row counts doesn't exceed the fact table.
Which one will be best approach for huge fable table. I have confusion between option 2 and 3.
1. Keeping the text columns in fact table. But the size of the fact and update if required is concern
2. Grouping all the text column into single dimension by referencing with fact table id. Again fact table count and dimension count will be same. Say if 1M record in fact then 1M record in dimension as this dimension is loaded by referencing fact table.
3. Creating one or more junk dimension by grouping related text columns by considering row counts doesn't exceed the fact table.
Which one will be best approach for huge fable table. I have confusion between option 2 and 3.
BiSolution- Posts : 6
Join date : 2013-05-19
Re: Junk dimension approach
You could have 10 junk dimensions that hang off the fact
wonka- Posts : 13
Join date : 2011-08-10
Re: Junk dimension approach
We can include it as 4th option by keeping text column in respective dimension table itself. But at the end, each dimension will have single attributes and more number is surrogate keys in fact table and joins for all these dim.
I prefer option 3 of keeping one or more junk dimnesion. By this way I can reduce the dimension list. Any suggestion to choose out of 4 options now.
I prefer option 3 of keeping one or more junk dimnesion. By this way I can reduce the dimension list. Any suggestion to choose out of 4 options now.
BiSolution- Posts : 6
Join date : 2013-05-19
Re: Junk dimension approach
I still prefer creating a junk dimension for each, which I think is what you're trying to describe in option 3. Whether it's 10 separate dimensions or you group them together depends on the content, in my opinion. For instance, if 2 of them are (1) favorite food and (2) region of country then it doesn't make sense to group them into a single dimension so they're be left as standalone but say if it's (1) region of country and (2) accent style then maybe it makes sense to group into one.
wonka- Posts : 13
Join date : 2011-08-10
Re: Junk dimension approach
Yes, we both are in same page. As you said grouping depends on content. if not then keep it as standalone dim.
BiSolution- Posts : 6
Join date : 2013-05-19
Similar topics
» bridge table and junk dimension on customer dimension (bank/credit union)
» modelling Product dimension for Pizza outlet
» Should I use a degenerate dimension or create a junk dimension?
» Should this be a degenerate dimension or a junk dimension?
» "Junk" dimension looking more like a "Header" dimension
» modelling Product dimension for Pizza outlet
» Should I use a degenerate dimension or create a junk dimension?
» Should this be a degenerate dimension or a junk dimension?
» "Junk" dimension looking more like a "Header" dimension
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum