While running the Streams Setup Procedure receive ORA-04021: timeout occurred while waiting to lock object
(Doc ID 2269012.1)
Last updated on MAY 11, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A 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.
Goal
Getting the ORA-04021 error when trying to run Streams Setup queue procedure
BEGIN
DBMS_STREAMS_ADM.SET_UP_QUEUE(
queue_table => 'STREAMS_QUEUE_TABLE',
queue_name => 'STREAMS_QUEUE',
queue_user => 'STRMADMIN');
END;
/
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 746
ORA-06512: at line 2
Solution
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
Goal |
Solution |