Drop Materialized View Hangs with 'Enq: JI - Contention'
(Doc ID 1126123.1)
Last updated on FEBRUARY 02, 2022
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Oracle Database Cloud Schema 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
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
When running a DROP MATERIALIZED VIEW the session hangs.
The hang has been reproduced and this time we have some trace files generated:
Connect to any session and run the following commands:
This wait event was determined to be due to a DBMS_JOB entry to refresh the mview we are trying to drop. So after removing this job we could then successfully drop the mview.
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