Query Does Not Rewrite in Different Schema When Synonym Present
(Doc ID 1963298.1)
Last updated on JULY 26, 2021
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
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 (primary) detail tables. When evaluated using dbms_mview.explain_rewrite under the non-owner, the output from the REWRITE_TABLE lists the following:
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