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

CWM2_OLAP_AW_ACCESS , 3 of 9


Process Overview

These are the basic steps you need to follow to generate views of data stored in an analytic workspace. They are described more fully throughout this chapter.

  1. Explore the analytic workspace and identify the objects that you want to expose in a relational view.
  2. Create a text file for each view that you want to create. The text files map analytic workspace objects to columns in a relational view.

    If you intend to create OLAP Catalog metadata, then you need to generate views that form a star schema, that is, fact views and dimension views. For more information about OLAP Catalog schema requirements, refer to Chapter 4, "Designing Your Database for OLAP".

  3. In PL/SQL, execute the CreateAWAccessStructures_FR procedure for each input file.

    Tip: Create a script that executes these procedures.

  4. Use a text editor to view the resulting scripts and make whatever changes you wish.
  5. In PL/SQL, run the scripts.
  6. If errors are triggered, do the following:
    1. Identify and fix the problems in the input files.
    2. Delete the script files.

      CreateAWAccessStructures_FR will not overwrite an existing output file. If you created a script to execute this procedure on each of your input files, you may want to begin the that script by deleting existing output files.

    3. Regenerate the script files.
  7. In PL/SQL, select data from the views to verify that they work properly. Errors at this stage are caused by problems in the definition of the workspace objects.

    If necessary, correct the errors and regenerate the views.

  8. When no errors occur, commit the views to the database.
  9. Change the access protection of the view with a command such as this one:
    grant select on view electro_product_view to public
    

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