Cubes Property Sheet: Materialized View tab

Cube materialized views are cubes that have been enhanced with the capabilities of materialized views:

You can create materialized views just for refresh, or for both refresh and rewrite.

Enable Materialized View Refresh of the Cube

Select this option to refresh of the data in the cube automatically by using the database materialized view refresh system. This method of refreshing a cube is an alternative to a manual refresh. You can enable and disable refresh without losing the other settings.

Refresh Method

Choose one of the following refresh methods:

Refresh Mode

Choose one of the following refresh modes:

Start With:

Displays the expression for scheduling the first refresh using the Start/Next method. Typically, this expression identifies a single date and time for the initial refresh.

Next Refresh:

Displays the expression for scheduling the additional refreshes using the Start/Next refresh mode. Typically, this expression identifies an interval for scheduling routine periodic refreshes.

Modify

Displays the Set Refresh Times dialog box for setting the Start With and Next Refresh expressions.

Constraints

Controls the types of constraints that are used during a refresh:

Enable the Query Rewrite Materialized View

Controls whether the materialized views are used by query rewrite. Select this box to submit the materialized views to the query rewrite system. You can enable and disable query rewrite without losing the other settings.

The Refresh and Rewrite tabs display status information about the materialized views.

Relational Schema Advisor

Evaluates the master tables for the constraints needed to get the maximum use from the materialized views, particularly for query rewrite. The Advisorl looks for NOT NULL constraints, primary key constraints, foreign key constraints, and materialized view logs on the master fact tables. It generates a script that you can save to a file and run at your convenience to apply these changes. Any changes that cannot be implemented because of existing conditions are commented out of the script.

Related Topics

Creating Materialized Views