previous

OBI Cube Maintenance

Note: This topic applies to OBI having licenses OPB_<version number> OBI Enterprise (OBIEE - Multiple Properties), or OPI_BUIP_<version number> OBI Standard (Single) using OLAP technology and data cubes. This topic does not apply to standalone S&C Advanced Reporting whose data is accessed directly from OPERA tables via OLTP. For S&C Advanced Reporting, see S&C Advanced Reporting Subject Areas or S&C Advanced Reporting Setup.

OPERA Business Intelligence (OBI) cube maintenance provides the OBI user with options to initially build a new cube for a property (or properties) from data compiled from a specific year and to schedule cube data updates thereafter. Cube building and maintenance is done through the OPERA Scheduler (accessed from Utilities>Utilities>OPERA Scheduler.) When the OPR_<version number> ORS license code is active, the Scheduler can also be accessed from the ORS main menu Miscellaneous>Scheduler). This topic discusses some requirements and background information for building and scheduling maintenance for OBI cube data. For more information about OPERA Business Intelligence, see About OPERA Business Intelligence and also OBI Setup.

Prerequisites

License Codes

Properties must have license codes for:

End of Day/Night Audit

The End of Day/Night Audit needs to be set up. Datamart messages will be triggered by the End of Procedures business event generated by the Night Audit.

To set up the End of Day/Night Audit

  1. Ensure that the user is granted the permission End of Day>Night Audit Setup.
  2. Go to System Configuration>Setup>Business Events>Configuration, select the module NIGHT AUDIT and the Action Type NA DATAMART with the Data Element BUSINESS DATE checked.
  3. Ensure that the business event for "End of Procedures" is configured and subscribed to by the property.
  4. Enable the procedure data_mart_api.populate_financial_stat_daily in the End of Day Final Procedures.
  5. Go to OXI>Interface Configuration>Interface Parameters and select the types of Datamarts you want.
  6. Start the Night Audit by accessing the End of Day Routine>Night Audit Procedure.
RAC Environment Only

When the OBI Schema is in a RAC environment, users can select different server nodes (instances) to be used when building and maintaining BI Cubes. Assigning server nodes for these background jobs, keeping them separate from regular user sessions, will improve OPERA performance.

Data Resources and Cube Maintenance Overview

Starting at the property level, dedicated OPERA processes capture groupings of select data from across the hundreds of OPERA tables and place the data in appropriate fact tables (relational tables). This process occurs at the End of Day sequence/Night Audit (the process that closes and balances each day's activities for the property). Fact tables store summarized, or aggregated, data from each property. OBI cubes access these tables as a source for quick retrieval of data during the cube building and maintenance process. For example, the Reservation Pace Cube may use fact table sources of Future Reservations, Budget Data, and Physical Rooms. OBI Cubes do not read any data from non-OPERA sources.

Note: OBI accesses the same property budget and forecast data existing in the Budget Forecast module to build its budget and forecasting reports. See Budget Forecast for more information.

OBI Cube Scheduler Procedures

With the OPERA Scheduler Procedures screen, you can set up a schedule to build and maintain cubes. Access the OPERA Scheduler Procedures screen (Scheduler>Not Running>New). This screen lists the procedures that are available to run:

obi_opera_scheduler_procedures3_17_09

Highlight the cube you want to build and maintain and select the Run button. The Schedule Screen appears where you can set up the frequency.

Full Build or Rebuild

To fully build, either initially build or rebuild a cube that is independent of maintenance, highlight the cube option of BI - Full <cube name>. For example, BI - Full Company Cube, Full Build of Company Cube.

Note: During a full build or rebuild of a cube, new data is layered over previous data and the cube continues to occupy more disk space. Two options are available to reduce the amount of space occupied by cubes during a full rebuild.

- The Rebuild AWs process drops (deletes) and then recreates AWs during the full build of one of its associated cubes. See OBI Setup for more information about permissions, the application setting, and process.

- When the application parameter>OBI DROP CUBE WITH FULL REBUILD is set to Y, and the user has the permission OBI>DROP CUBE WITH FULL BUILD, cubes will always be dropped (deleted) and recreated with every scheduled full rebuild.

When OBI cubes are built for the first time, or completely rebuilt after an upgrade, the application setting OBI>Settings>OBI Start Year can be activated to select a specific year from when data will be used to build the cube. All cubes, except Reservation Pace Cube, can use this setting. The start date will be the 1st day of January of the year specified in this setting. If this application setting is not set, the cube activated to be (re)built through the OPERA Scheduler takes data from the 1st of January of the current year, minus 2 years (e.g., if the business date is 12-Jun-08 and the parameter is blank, the start date will be 01-Jan-06).

Dimension Security and Rebuilds

When the OBI DIM Security parameter is set to Y, users will need to rebuild all OBI cubes. After a cube is rebuilt, the dimensions will only be linked to the property that owns them and will be property specific. Using the Profiles dimension as an example, users in Property A will only be able to see the Profiles specific to Property A, and users in Property B will only be able to see the Profiles for Property B, etc.

Build & Maintain (Update)

To maintain and update a cube after it has initially been built, highlight the cube name BI - <cube name>. For example, BI - Block History Cube, Build and Maintain Block History Cube.

BI Cubes

Note: When the OBI DIM Security parameter is set to Y, users will need to rebuild all OBI cubes. The drop cube with full rebuild should be used when rebuilding the cubes. After a cube is rebuilt, the dimensions will only be linked to the property that owns them and will be property specific. Using the Market dimension as an example, users in Property A will only be able to see the market codes specific to Property A, and users in Property B will only be able to see the market codes for Property B, etc.

OWNER

DIRECTORY NAME

DIRECTORY PATH

SYS

EXT_FILE_DIR

\\BISERVER\transfer\OBI\POS

Maintaining BI Cube Tables and Logs

Use the BI Maintain Cubes job to refresh all dimension tables and logs so they are loaded into the cube during the build process. This ensures the tables and logs are current and old data is purged. The BI Maintain Cubes job executes a series of background processes, including:

Each of these processes is executed once a day even if the BI Maintain Cubes job is set to run multiple times a day. If the process finds, for example, the “Populate Request Log “ job has already been completed for that day, then the job skips the process and does not run it again until the next day at the scheduled time.

To run the BI - Maintain Cubes job:

Generating Incremental Builds After Daily Builds

Users have the option of generating an OBI Incremental Build Job per cube after a Daily Build. This process monitors the Daily Build job to see if it was successful and if any new data has been generated since by a property(s); then the process waits a selected amount of time and refreshes the cube with the new data. The OBI Incremental Build Job is a convenient process for multi-property environments whose properties are in different time zones and the datamart data gets refreshed at different times during the Night Audit. This process ensures that the most current data in the cube is always available to all properties.

obi_incremental_property_build

Maintenance Processing Time

When scheduling OBI cube maintenance, please note that the time it takes to complete the maintenance process is greatly dependent upon the following factors:

  1. Number of rows in the OPERA fact tables
    • A 1,000 room property may have 10 times more numbers of rows more than a 100 room property.
  2. Number of dimensions in the cube
    • This is by far the main factor when calculating performance during the cube maintenance process.
  3. Number of hierarchies within each dimension
    • A dimension with two hierarchies (i.e. All Channels and Channel Code) will perform much faster than a dimension with five hierarchies (i.e. All Dates, Year, Quarter, Month and Day). This is because depending on the cube definition, every dimension and most of their hierarchies must be summed up during the cube maintenance process.
  4. Memory on the OPERA Database server
  5. Speed of the processors

Example:

The Reservation History Cube, for a 200 room hotel, should take less than 60 minutes to build initially for a 2 year period. After the initial build, daily maintenance should take between 10 and 20 minutes.

See Also