Cannot Drop Custom Queue Due To Error ORA-04020
(Doc ID 2410802.1)
Last updated on MARCH 08, 2019
Applies to:
Oracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
The following error is reported
SQL> exec DBMS_AQADM.DROP_QUEUE_TABLE (QUEUE_TABLE => '<SCHEMA>.<TABLE NAME>
',force => true);
BEGIN DBMS_AQADM.DROP_QUEUE_TABLE (QUEUE_TABLE => '<SCHEMA>.<TABLE NAME>',fo
rce => true); END;
*
ERROR at line 1:
ORA-04020: deadlock detected while trying to lock object
<SCHEMA>.AQ$<TABLE NAME>
ORA-06512: at "SYS.DBMS_AQADM", line 240
ORA-06512: at line 1
when dropping existing queue tables in editioned schemas
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 |