Dimensions Modelling
The multidimensional nature of business questions is reflected in the fact that,
- for example, marketing managers are no longer satisfied by asking simple one-dimensional questions such as
"How much revenue did the new product generate?"
Instead, they ask questions such as
"How much revenue did the new product generate by month, in the northeastern division, broken down by user demographic, by sales office, relative to the previous version of the product, compared the with plan?"
-A six-dimensional question.
Purpose:
The purpose of dimensional model is to improve performance by matching data structures to queries.
Characteristics:
The principal characteristic of a dimensional model is a set of detailed business facts surrounded by multiple dimensions that describes those facts, when realized in a database, the schema for a dimensional model contains a central fact table and multiple dimension tables.
Facts are the numbers that user analyse and summarise to gain a better understanding of the business
Fact Tables
Fact tables are used to record actual facts or measures in the business. Facts are the numeric data items that are of interest to the business.
Below are examples of facts for different industries:
Dimension Tables
Dimension tables, on the other hand, establish the context of the facts. Dimensional tables store fields that describe the facts.
Below are examples of dimensions for the same industries :
• Retail. Store name, store zip, product name, product category, day of week.
• Telecommunications. Call origin, call destination.
• Banking. Customer name, account number, data, branch, account officer.
Formation of the automaker sales fact table
What is a Snowflake Schema?
Snowflake Schema in data warehouse is a logical arrangement of tables in a multidimensional database such that the ER diagram resembles a snowflake shape.
A Snowflake Schema is an extension of a Star Schema, and it adds additional dimensions. The dimension tables are normalized which splits data into additional tables.
In the following Snowflake Schema example, Country is further normalized into an individual table.
Star Vs SnowFlake Schema
The major difference between the snowflake and star schema models is that
Hence, although the snowflake schema reduces redundancy, it is not as popular as the star schema in data warehouse design.
=>The main benefit of the snowflake schema
it uses smaller disk space.
=> Easier to implement a dimension is added
to the Schema
=> Due to multiple tables query
performance is reduced
=> The primary challenge that you will face
while using the snowflake Schema is that
you need to perform more maintenance
efforts because of the more lookup
tables.
A Fact Constellation Schema contains two fact table that share dimension tables between them.
It is also called Galaxy Schema.
Characteristics
Shared dimension tables between fact tables
Group 10
1. Aditya Jha 07
2. Anuj Garg 15
3. Gaurav Kumar Gupta 24
Submtted to : Dr. Shweta Taneja