Can I query more than one remote table via DB link from ADG read only database?
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.