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

Last updated on JANUARY 21, 2015

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms