My Oracle Support Banner

Materialized view not able to use QUERY REWRITE QSM-01150 QSM-01263 QSM-01219 (Doc ID 1064725.1)

Last updated on MARCH 10, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.1.0.8 [Release 10.2 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Materialized view not able to use 'QUERY REWRITE'.
The package dbms_mview.explain_rewrite dispalys following errors:

QSM-01150: query did not rewrite
QSM-01263: query rewrite not possible when query references a dictionary
table or view
QSM-01219: no suitable materialized view found to rewrite this query

No dictionary object(table/view)is being used in the creation script of the materialized view.

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.