PL/SQL (MOSC)

MOSC Banner

Snapshots via database links

edited Oct 7, 2009 2:42AM in PL/SQL (MOSC) 6 commentsAnswered
We created a materialized view containing data from a remote database.

Refreshing the snapshot manually works allright.

Yet, automatic refresh fails with

ORA-12012: error on auto execute of job 21
ORA-12008: error in materialized view refresh path
ORA-04052: error occurred when looking up remote object B_SMARTFIX_APPS.XXJR_TAB_COLUMNS@TOB_SMARTFIX.METZLER.COM
ORA-00604: error occurred at recursive SQL level 3
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2254
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2460
ORA-06512: at "SYS.DBMS_IREFRESH", line 683
ORA-06512: at "SYS.DBMS_REFRESH", line 195
ORA-06512: at line 1

Is there a general problem with jobs over db links?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center