My Oracle Support Banner

Query Rewrite Does Not Occur in Presence of Redundant Joins. Explain_Rewrite May Show QSM-1150/QSM-1123/QSM-1284/QSM-1072 (Doc ID 1364570.1)

Last updated on FEBRUARY 22, 2024

Applies to:

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


Query Rewrite may not occur in presence of redundant joins.
dbms_mview.Explain_Rewrite may show messages as:

QSM-01150: query did not rewrite
QSM-01123: self-join algorithm could not resolve multiple instances
QSM-01284: materialized view XXX has an anchor table YYY 
not found in query
QSM-01072: materialized view, XXX, and query have different
joins between tables, ZZZ and YYY


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

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