Building a Dimensional Data Model For a Data Warehouse
Submitted
2009-11-15 03:16:30
& #9679;Choosing the business processes that an organization wants to use to analyze the subject area to be modeled.
& #9679;Determining the granularity of the fact tables.
& #9679;Identifying dimensions and hierarchies for each fact table.
& #9679;Identifying measures for the fact tables.
& #9679;Determining the attributes for each dimension table.
& #9679;Getting users to verify the data model.
Advantages of using a dimensional data model for data warehouse include:
1.The dimensional model has many standard types of joins and framework. All the dimensions can be thought of as symmetrically equal entry points into the fact table. The logical design can be done independent of expected query patterns. The user interfaces, the query strategies and the SQL generated against the dimensional model are all symmetrical. In other words, attributes cannot be found in fact tables and facts in dimension tables. If there is a non fact field in the fact table, it can be assumed as a key to a dimension table.
2.The dimensional data model can be extended to accommodate new data elements and new design decisions. Its existing tables, both fact and dimension can be changed in place by adding new data rows in the table. Also the data is not required to reload. Moreover, no query tool or reporting tool needs to be reprogrammed in order to accommodate the change. Here are a few changes that could be made with dimensional modeling:
& #10146;Adding new unanticipated facts if they are consistent with the existing fact table.
& #10146;Adding completely new dimensions, as long as there is a single value of that dimension defined for each existing fact record.
& #10146;Adding new, unanticipated dimensional attributes.
& #10146;Breaking existing dimension records down to a lower level of granularity from a certain point in time forward.
3. With the dimensional model there is a set of standard approaches for handling common modeling situations, each having a set of alternatives that can be specifically programmed in report writers, query tools and other user interfaces. These modeling situations include:
& #10146;Dimensional modeling provides specific techniques for handling slowly changing dimensions, depending on the business environment.
& #10146;Heterogeneous products where a business needs to:
1. Track a number of different lines of business together within a single common set of attributes and facts at the same time and
2. Describe and measure the individual lines of business in highly idiosyncratic ways using incompatible measures.
About the author: This article was written by Brian May who is very knowledgeable about data warehousing and has worked with many companies that offer data warehouse consulting. To find out more information, please visit http://www.datawarehousingconsultants.com.
Article From Articles Haven
HTML Ready Article For Your Website
Click on the "Copy" button to copy into your clipboard.








