Skip Headers

Oracle9i OLAP User's Guide
Release 2 (9.2)

Part Number A95295-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

Creating OLAP Catalog Metadata, 2 of 6


Choosing the Right Metadata Creation Method

There are two tools for creating OLAP metadata:

The tool that you can use depends on the structure of your data warehouse.

Basic Star or Snowflake Schema

OLAP Management is a tool in Oracle Enterprise Manager that provides an easy-to-use graphical interface to release 1 of the OLAP Catalog (CWM). This tool creates a database DIMENSION object for all logical dimensions defined in the metadata, which imposes the following requirements on the dimension tables:

If your data warehouse complies with all of these requirements, then you can use either Enterprise Manager or the CWM2 APIs for defining OLAP metadata. No preprocessing steps are required.

Your ITT tool may have created metadata already. If so, you should check it using the OLAP Management tool to see if the metadata structures are "OLAP enabled."

Dimension Tables with Complex Hierarchies

Release 2 of the OLAP Catalog (CWM2) supports the following variations in dimension tables:

If your dimension tables have any of these characteristics, then you must use the CWM2 APIs to create OLAP metadata. No preprocessing is required.

Multidimensional Data and Parent-Child Dimensions

If your data warehouse stores data in analytic workspaces or has parent/child (instead of level-based) dimensions, then you must use the CWM2 APIs to create OLAP metadata. For both types of warehouse storage, OLAP metadata creation is a two-step process:

  1. Create relational views of the data. These views take the place of fact tables and dimension tables where they do not exist (in the case of multidimensional data) or are structurally unsuitable (in the case of parent-child dimension tables).
    • For dimension tables with parent-child relations, use the CWM2_OLAP_PC_TRANSFORM package to generate the views, as described in Chapter 16.
    • For multidimensional data stored in analytic workspaces, use the CWM2_OLAP_AW_ACCESS package, as described in Chapter 15.


      Note:

      When you use the CWM2_OLAP_AW_ACCESS package, multidimensional data is represented with the same metadata structures that represent relational data, and access to the analytic workspace is transparent to the client. You can also create metadata that directly represents the multidimensional objects in an analytic workspace. See Multidimensional Data Structures in the OLAP Catalog.


  2. Use the OLAP Catalog CWM2 PL/SQL procedures to generate the metadata for all of the data regardless of whether it is stored in relational tables or analytic workspaces.

    See Also:

Multidimensional Data Structures in the OLAP Catalog

If some or all of your warehouse solution is stored in analytic workspaces, you may wish to create metadata that directly represents the multidimensional objects defined within the workspaces. This can be done using the CWM2 APIs.

Objects within analytic workspaces are defined and manipulated by the OLAP Data Manipulation Language (DML).

To create metadata for analytic workspace objects, use the procedures in the CWM2_OLAP_AW_OBJECT package. To map this metadata to objects in an analytic workspace, use the procedures in the CWM2_OLAP_AW_MAP package.

See Also:

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 2001, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback