When should you use a STAR and when a SNOW-FLAKE schema?
Answer Posted / freak.abinitio
Snowflake schema architecture is a more complex variation of a star schema design. The main difference is that dimensional tables in a snowflake schema are normalized, so they have a typical relational database design.
Snowflake schemas are generally used when a dimensional table becomes very big and when a star schema can’t represent the complexity of a data structure. For example if a PRODUCT dimension table contains millions of rows, the use of snowflake schemas should significantly improve performance by moving out some data to other table (with BRANDS for instance).
The problem is that the more normalized the dimension table is, the more complicated SQL joins must be issued to query them. This is because in order for a query to be answered, many tables need to be joined and aggregates generated.
A dimensional modelling technique in which a detail fact table is linked to dimension tables.
The data in data warehouses and data marts is accessed by end-users. The information contained in the data warehouse/data mart must be easy for the end-user to use and access. Denormalized designs are easier for end-users to use than highly normalized designs, however these designs are more difficult to design and maintain.
The Star Schema diagram graphically models the end-user's view (i.e., the denormalized view) of how the information is accessed.
Components of a Star Schema Diagram
The diagram has three main components:
· Fact Table and its contents: metric attributes and the foreign keys necessary to join to the dimension tables,
· Dimension Tables and their contents: reference attributes, hierarchical attributes, and metric attributes. The dimension tables are highly denormalized,
· the lines that link the Dimension Tables to the Fact Table.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is Discrete and Continuous data in Data mining world?
What is a data profile?
How to define a cube??
What are components of report studio?
What is normalization, first normal form, second normal form, third normal form?
Difference between e-r modeling and dimentional modeling?
Explain what is metadata reporter?
what are the different views that are considered when building an object-oriented software system?
What are Non-additive facts?
Explain difference between data ware house & data mart?
what is user variable in affinium campaign? and some real time examples.
What is drill-through?
What is dimension modeling?
How are the dimension tables designed?
How do you create surrogate key using ab initio?