Oracle9i OLAP User's Guide Release 2 (9.2.0.2) Part Number A95295-02 |
|
|
View PDF |
When creating materialized views for the OLAP API, you should create MVs for each dimension in a star schema. Dimensions may be denormalized in a single table or normalized in separate tables (snow flake schema).
The structural differences between concatenated rollup style and grouping set style apply only to materialized views for fact tables. The structure of dimension materialized views is the same whether the fact table materialized view uses concatenated rollup or grouping sets.
When you use OLAP Summary Advisor, dimension materialized views are automatically created along with the fact materialized views for a cube.
Alternatively, you can use the CREATEDIMMV_GS
procedure in the DBMS_ODM
package to create dimension materialized views.
Note: The syntax of the |
The dimension MV scripts produced by OLAP Summary Advisor and DBMS_ODM
create a separate MV for each hierarchy of a dimension.
Table 10-1, " SALES_CUBE Cube" lists the dimensions and hierarchies associated with the SALES_CUBE
cube in the Sales History (SH
) schema.
The total number of dimension materialized views required for SALES_CUBE
is seven, the sum of the number of materialized views required for each of its dimension hierarchies.
See Also:
Chapter 29, "Creating Dimension Materialized Views" for more information about creating materialized views for dimensions. |