My Oracle Support Banner

DBMS_MVIEW.REFRESH Tries To Enable Row Movement For Matview Log (Doc ID 2310432.1)

Last updated on FEBRUARY 17, 2023

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database - Enterprise Edition - Version and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.

In as part of refresh process this procedure was executing

>> alter table "SCHEMA_NAME"."MLOG$__" shrink space CHECK

Now in the same procedure first execute:

>> alter table "SCHEMA_NAME"."MLOG$__" shrink space CHECK

and then if row movement for mlog$ is disabled it turns it on:

>> alter table "SCHEMA_NAME"."MLOG$__" enable row movement

and then shrinks mlog$.

Constantly shrinking mlog$ during peak workload hours leads to user sessions waiting for TM locks on mlog$


To turn implicit shrinking of logs by refresh procedure off



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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.