Enqueue TM Contention When Executing Online DBMS_REDEFINITION For a Table Partitioned By REFERENCE

(Doc ID 2212678.1)

Last updated on JANUARY 17, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

Getting an enqueue contention 'enq: TM - contention' when executing this online dbms_redefinition in a table partitioned by REFERENCE.

This procedure works fine in stand alone, but when there is INSERT rows in the parent table, a lock is generated, and the new session remains waiting.

Sessions are waiting with event: "enq: TM - contention".

Changes

 Using dbms_redefinition in a partition by REFERENCE table.

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