"Enq: IV - Contention", summary invalidations, and summary management compile (Doc ID 2301046.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

A materialized view (mview) has two parts: (1) a table that holds the data, and (2) the summary object.  When DML on the base table of an mview is committed, the summary object is invalidated.  This is necessary because the mview might need be used for query rewrite.  The invalidation takes an IV enqueue, which is held until the summary object is invalidated on all nodes.   If there are a lot of summary invalidations, it can cause contention on this enqueue. 

Here is an example of what you might see when there is contention on the IV enqueue:

 

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