My Oracle Support Banner

Rewrite To Cube Organized Materialized View Fails With QSM-01284 (Doc ID 756198.1)

Last updated on JULY 09, 2012

Applies to:

Oracle OLAP - Version 11.1.0.6 to 11.2.0.3 [Release 11.1 to 11.2]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

Cube MIT_CUBE is based on ACCOUNTS and RESULTCODES dimensions.
The cube is mapped to ALL_RESULTS table, the dimensions are mapped to ACCOUNTS_DIM and RESULTCODES_DIM tables respectively.

The following query, that refers to the ACCOUNTS_DIM only (it does not refer to the other dimension table) is not rewritten to the cube organized materialized view CB$MIT_CUBE:

SELECT a.account_id, sum(r.count)
        FROM accounts_dim a, all_results r
        WHERE a.account_id = r.account_id
        GROUP BY a.account_id;


DBMS_MVIEW.EXPLAIN_REWRITE (<above_query>, 'CB$MIT_CUBE') gives

QSM-01284: materialized view CB$MIT_CUBE has an anchor table RESULTCODES_DIM not found in query

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.