<< Click to Display Table of Contents >>

Levels

Top Previous Next

In a Data Warehousing star schema, the data that defines what a particular dimension consist of is stored in one or more dimension tables. Columns within the dimension table(s) are grouped into levels. Information about levels is stored in the USER_DIM_LEVELS and related Data Dictionary views. These relate the level to both the dimension and the dimension table.

A good example is provided by Hora's display of the PROMOTIONS_DIM dimension in Oracle's SH sample schema. Here, the levels of PROMOTIONS_DIM are shown at the top of the tree view, with the table and column names below them. For level PROMO, PROMOTIONS.PROMO_ID is the level key, and the remaining columns are indented below it.

frmDimensions_Levels

 

Levels are used to define hierarchies within a dimension.