My Oracle Support Banner

Query Does Not Rewrite in Different Schema When Synonym Present (Doc ID 1963298.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.

Symptoms

 A query which seems to be a textual match to a materialized view in a different schema does not rewrite.   The non-owner running the query has the necessary select privileges on the base (master) detail tables.   When evaluated using dbms_mview.explain_rewrite under the non-owner, the output from the REWRITE_TABLE lists the following:

  

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.