Rewrite To Cube Organized Materialized View Fails With QSM-01284
(Doc ID 756198.1)
Last updated on FEBRUARY 27, 2019
Applies to:Oracle OLAP - Version 22.214.171.124 to 126.96.36.199 [Release 11.1 to 11.2]
Information in this document applies to any platform.
This problem can occur on any platform.
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:
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
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