Dimension Question
3 posters
Page 1 of 1
Dimension Question
Suppose that I have a dim_person table and that dim_person lives in a city which belongs to a state.
Should the dim_person table have all of the attributes of city and state in a data warehouse? For example, a column for state and city in the dim_user table. Would this still be true if city and state have a large number of attributes (50+)?
Should the dim_person table have all of the attributes of city and state in a data warehouse? For example, a column for state and city in the dim_user table. Would this still be true if city and state have a large number of attributes (50+)?
davVisitor- Posts : 3
Join date : 2013-03-04
Re: Dimension Question
There are normally multiple addresses associated with a Person (or Party). Most folks will try to manage the party address via a factless fact table. I also include a geography dimension separate from the address information for a party. It is in the geography dimension where I would maintain a hierarchy and not in the person dimension.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Re: Dimension Question
davVisitor wrote:Suppose that I have a dim_person table and that dim_person lives in a city which belongs to a state.
Should the dim_person table have all of the attributes of city and state in a data warehouse? For example, a column for state and city in the dim_user table. Would this still be true if city and state have a large number of attributes (50+)?
Snowflaking is not an evil. Just create a region dimension (with the city-state-region hierarchy) and reference it from within the dim_person.
hayrabedian- Posts : 7
Join date : 2011-04-01
Similar topics
» Question about using date dimension keys in other dimension tables
» Question on breaking out Degenerate Dimension to separate dimension
» Generic Dimension Question
» Degenerate dimension question.
» Fact Dimension question
» Question on breaking out Degenerate Dimension to separate dimension
» Generic Dimension Question
» Degenerate dimension question.
» Fact Dimension question
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum