Multidimensional Data Model (MDDM)
Dimensional Modeling is a technique to represent/visualize data stored in a data
Warehouse. This modeling technique helps faster retrieval of data.
Ralph Kimball developed the concept of Dimensional modeling and
it consists of tables known as "fact" and "dimension" to store facts and dimension records.
A multidimensional data model is designed to read, analyze and summarize
numeric information like a sum of the total, a sum of expenses, balances, values, etc.
Fact :Facts are the measurements about the business like
weekly sales, weekly total sales volume, monthly sales, total number of products etc.
Dimension :Dimension provides additional information like who, what, where about the fact
such that fact becomes meaningful and understandable. Examples of Dimension are: Customers, suppliers, location, Product etc.
Attributes : Attributes define dimensions, that is attributes provide detail about the dimension; description,
unit_price, MFD are attributes of Product dimension; year, quarter, month, week are attributes of time dimension.
Fact Table : Fact table is the biggest table in the MDDM and contains:
- Measures/Facts
- Foreign keys to dimension table
Dimension Table :Dimension table specifies dimensions of a fact. Dimension tables are joined to fact table
with the help of foreign key.