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 AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.8 to 11.2.0.3 [Release 9.2 to 11.2]
Information in this document applies to any platform.

Symptoms

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

MESSAGE
------------------------------------------------------------------------------
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

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.