Dimensional Data Modeling - Level

Star Schema

About

A level in a dimensional hierarchy is a set of attributes that has:

  • an mandatory identifier attribute (known also as the business identifier)
  • and descriptive attributes (optional)

Usage

A level is just metadata information that permits to:

  • rewrite a dimensional query. (ie when a descriptif attribute is chosen, the query can be rewrite to use its identifier in order to fine an aggregate followed by a lookup to retrieve the descriptif attribute)
  • define the grain of the query in order to see if there is an aggregate table that can serve it

Storage

In a relational database, the data of a level can be stored





Discover More
Star Schema
Dimensional Data Modeling - Grain

The grain is the combination of all lower hierarchy level of the descriptif attribute of a relation (table or query). If you query only a table, the unique key of this table is the grain If you query...



Share this page:
Follow us:
Task Runner