Query through Dblink within PL/SQL block reports ORA-16000 and PL/SQL: ORA-04053: error occurred when validating remote object ON ADG
(Doc ID 2248747.1)
Last updated on JANUARY 31, 2025
Applies to:
Oracle Database Cloud Service - Version N/A and laterOracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample schema(s), Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.
In this example:
Username=TEST_USER
dblink name=TEST_USER_DBLINK
Query using dblink on ADG withing a PL/SQL block reports
PL/SQL: ORA-04053, ORA-00604, and ORA-16000: when running SIMPLE SELECT WITH PL/SQL:
Call stack :- kprball kqdobu kqrcmt ktcCommitTxn_new ktcCommitTxn
Example :-
DATABASE_ROLE OPEN_MODE
---------------- --------------------
PHYSICAL STANDBY READ ONLY WITH APPLY
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |