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 9.2.0.8 to 11.2.0.3 [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.
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 |