My Oracle Support Banner

Cannot Drop Custom Queue Due To Error ORA-04020 (Doc ID 2410802.1)

Last updated on AUGUST 04, 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

To view full details, 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 a vibrant support community of peers and Oracle experts.