Cannot Drop Custom Queue Due To Error ORA-04020

(Doc ID 2410802.1)

Last updated on JUNE 13, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 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 => 'XXEOM.XXEOM_INT1_FR_TABLE
',force => true);
BEGIN DBMS_AQADM.DROP_QUEUE_TABLE (QUEUE_TABLE => 'XXEOM.XXEOM_INT1_FR_TABLE',fo
rce => true); END;

*
ERROR at line 1:
ORA-04020: deadlock detected while trying to lock object
XXEOM.AQ$XXEOM_INT1_FR_TABLE
ORA-06512: at "SYS.DBMS_AQADM", line 240
ORA-06512: at line 1

when dropping existing queue tables in editioned schemas

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms