Boolean dimensions
3 posters
Page 1 of 1
Boolean dimensions
Hi there!
Quick question when I have a simple yes/no dimension for example is my product on sale or not what is best pratice to model this?
Thanks
Simmo
Quick question when I have a simple yes/no dimension for example is my product on sale or not what is best pratice to model this?
Thanks
Simmo
simmo2013- Posts : 6
Join date : 2013-11-05
Re: Boolean dimensions
Make it the smallest numeric datatype that is still summable. I typically add these to the fact table since folks want to count them.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Re: Boolean dimensions
Thanks for the responses. What is best in terms of performance: degenerate dims for say 3 y/n fields in the fact table or a junk dimension?
My fact table will have around 325 million transactions for about 30 million unique orders...
My fact table will have around 325 million transactions for about 30 million unique orders...
simmo2013- Posts : 6
Join date : 2013-11-05
Similar topics
» Should a True/False value be a dimension
» What to do with boolean flag?
» Modeling help on dimension with many boolean value
» How to represent boolean flag representation in FACT?
» Schema Roadblock: Dimension vs Fact [Dimensions w/FKs to other Dimensions?]
» What to do with boolean flag?
» Modeling help on dimension with many boolean value
» How to represent boolean flag representation in FACT?
» Schema Roadblock: Dimension vs Fact [Dimensions w/FKs to other Dimensions?]
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum