Drop Materialized View Hangs with 'Enq: JI - Contention'

(Doc ID 1126123.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.2]
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.


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