Database Administration (MOSC)

MOSC Banner

Can I query more than one remote table via DB link from ADG read only database?

edited Aug 18, 2017 5:01AM in Database Administration (MOSC) 3 commentsAnswered

In migrating reports from running against production to the Active DataGuard standby, found a query that consistently gets ORA-16000.

It queries joins data from several remote tables from 2 different databases.

I used Set transaction read only

to get the query to run using the first 5 tables.

With the left outer join to the second remote database causes ORA-16000, even though I have set transaction read only

When I comment out the join from the second database, it runs fine.

below,

l1, d1, s1, c1, idp1, and p1 are all remote tables in the same database (using synonyms)

pg1 is a table in a second remote database.

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