Principles of Dimensional Modeling
Principles of Dimensional Modeling
DIMENSIONAL
MODELING
S AHIL DHINGRA
BCA E2
Introduction
What is Dimensional Modeling?
•A technique used in data warehousing to structure data for easy retrieval.
•Optimized for query performance and business intelligence reporting.
Why is it important?
•Simplifies data analysis.
•Enables faster reporting and decision-making.
•Used in OLAP (Online Analytical Processing) systems.
Key Concepts
•Fact Tables – Store measurable
business data (e.g., sales, revenue).
•Dimension Tables – Contain
descriptive data (e.g., time, customer,
product).
•Measures – Quantitative values stored
in fact tables.
•Attributes – Descriptive details stored
in dimension tables.
Advantages of Dimensional
Modeling
Fast query performance – Optimized for business
reporting.
Simplified structure – Easy to understand and use.
Improved business analysis – Enables meaningful insights.
Scalability – Supports large data volumes.
Flexible data retrieval – Enables slicing, dicing, drill-down,
and roll-up.
Fact Table
A central table in a Features
dimensional model that Contains foreign keys to
contains quantitative dimension tables.
business data. Stores numeric
measures.
Example Fields: Sales
Amount, Revenue,
Quantity Sold, Profit.
Star Schema
Definition:
•A simplified dimensional model where
a single fact table connects to multiple
dimension tables.
Features:
•Denormalized structure (reduces joins,
improves speed).
•Faster query performance.
•Common in business intelligence
applications.
Snowflake Schema
Definition:
•A normalized version of the Star Schema,
where dimension tables are further
divided.
Features:
•Reduces data redundancy by splitting
dimension tables.
•Requires more joins, making queries
slower than in a Star Schema.
•Preferred when storage optimization is
necessary