Global Index Maintenance (GIDX) on Partitioned Tables not Running Asynchronously in 12c+
Last updated on JUNE 08, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
You are running RDBMS version 12c or higher and still see the synchronous global-index-maintenance (GIDX) behavior. The SQL that indicates synchronous GIDX maintenance is running is the following recursive SQL:
Starting in 126.96.36.199, GIDX maintenance after partition maintenance operations (PMOPs) using the UPDATE INDEXES clause happens asynchronously. It also introduces index coalesce in addition to cleanup_orphans operations. The asynchronous nature allows the PMOPs DDL to run faster and reduce the window where we hold a DML lock on the partition that blocks other operations. This maintenance is done via the dbms_scheduler job PMO_DEFERRED_GIDX_MAINT_JOB, which runs during the maintenance window, by default.
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