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, 5 of 6


Creating Metadata Using Oracle Enterprise Manager

If your data warehouse complies with the requirements listed in "Basic Star or Snowflake Schema", you can create OLAP metadata using the OLAP Management tool in Oracle Enterprise Manager.

You generate the SQL statements that create the metadata primarily by following the steps presented by a wizard or by completing a property sheet. If you wish, you can display the SQL statements before executing them.


Note:

If you prefer to execute PL/SQL programs directly or your schema does not conform to the requirements of the OLAP Management tool, refer to "Creating Metadata Using PL/SQL".


Procedure: Accessing OLAP Management

Follow these steps to start Oracle Enterprise Manager and access OLAP Management:

  1. Open the Oracle Enterprise Manager console.

    You see the main page.

  2. Expand Databases by clicking the plus sign next to it.

    You see the list of service names for Oracle databases for which you have defined a connection.

    If the database that you want to manage is not listed, then from the Navigator menu choose Add Database to Tree. You will need to supply the host name, port number, and SID.

  3. Expand the database that you want to manage.

    You see the Database Connect Information dialog box.

  4. Type in your user name (one with the appropriate credentials) and password for that database.


    Tip:

    Select the Save as preferred credentials box if you wish to eliminate this step in future sessions. Your user name and encrypted password will be saved in a local file. For security, make sure that only you can run Oracle Enterprise Manager with your stored credentials. Later, if you wish to change this information, then choose Edit Local Preferred Credentials from the Configuration menu.


    The database folder will expand to show the various tools available for administering the database.

  5. Expand OLAP.

    You see the types of objects that you can create. This part of Oracle Enterprise Manager is for OLAP Management.

Defining Metadata for Dimension Tables

When creating OLAP metadata, you must first define the metadata objects for the dimension tables. These metadata objects are logical dimensions. You can use the Dimension Creation Wizard or supply information directly in the Create Dimension dialog box.

To define a dimension, you provide all the information that will be needed to label and aggregate the measures dimensioned by it, including:

Business analysis is performed on historical data, so fully defined time periods are vital. Special support for time dimensions is built into the metadata to allow for time-dependent analyses, such as comparisons with earlier time periods.

Your time dimension table must have columns for end-date and time-span, as described in "Time Dimensions". Typical levels and hierarchies for time dimensions are suggested by the Dimension Wizard, but you do not have to use them.

Follow these steps to create a dimension and its associated levels, hierarchies, and attributes:

  1. Start Oracle Enterprise Manager and access OLAP management, as described in "Procedure: Accessing OLAP Management".
  2. To create a new dimension, right click on Dimensions, then choose one of the following:
    • Create Using Wizard to run the Dimension Wizard

      or

    • Create to edit a new dimension property sheet
  3. Choose Help if you need additional information.

Defining Metadata for Fact Tables

After you have defined the metadata objects for the dimension tables, you can create metadata objects for the fact tables. These metadata objects are measures and cubes. A cube is a collection of identically dimensioned measures. When you define a cube, you identify information such as the following:

Cubes and measures are defined entirely in the OLAP metadata; there are no corresponding database objects. In Oracle OLAP, measures are created in which to cache the data for analysis and display.

Follow these steps to create a cube:

  1. Start Oracle Enterprise Manager and access OLAP Management, as described in "Procedure: Accessing OLAP Management".
  2. Right-click on Cubes, then choose one of the following:
    • Create Using Wizard to run the Cube Wizard

      or

    • Create to edit a new cube property sheet
  3. Choose Help if you need additional information.

Viewing Cubes

The Cube Viewer allows you to see the cube that you created in the same way that end-users might see it -- with the data presented in a BI Beans crosstab, as described in "Crosstabs". Moreover, you can select the data that you want to see by using the query builder.


Note:

Only cubes created in Enterprise Manager are visible in the Cube Viewer. Enterprise Manager's OLAP Management feature uses the OLAP Catalog Release 1 APIs (CWM) and can only access metadata in the CWM metadata repository.


Procedure: Viewing cubes

Follow these steps to view a cube:

  1. Start Oracle Enterprise Manager and access OLAP Management, as described in "Procedure: Accessing OLAP Management".
  2. Expand the OLAP tree so that you can see the list of cubes.
  3. Right-click on the cube you want to examine, then choose Cube Viewer.
  4. If you need additional information, then search for the Help topic "Viewing a Cube's Data."

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