ORA-4054 may be Raised During Distributed Materialized View Refresh When GLOBAL_NAMES=TRUE (Doc ID 2286507.1)

Last updated on JULY 14, 2017

Applies to:

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

Symptoms

During distributed materialized view refresh, ORA-4054 might be raised referring database link which is not used in materialized view definition like below. As a notable point, materialized view definition includes user defined function, f1 in below example.

 ORA-4054 message says database link DBS2 does not exist, but it is not used in materialized view definition.

Changes

 This problem can happen when global_names=TRUE

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