PARSE TIME HIGH WITH GAPS IN INTERVAL PARTITIONS WHEN CHECKING UNUSABLE INDEXES (Doc ID 2206960.1)

Last updated on DECEMBER 13, 2016

Applies to:

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

Symptoms

Experiencing very long parse time for a query where top CPU usage as per profiling tool information is:

49.02% oracle oracle [.] kksgaGetNoAlloc_Int
37.54% oracle oracle [.] qksmaGetIndSeg
  7.25% oracle oracle [.] kkpoxguii_get_unusable_index_info

i.e. where partitioning checks for unusable partitioned indexes.

Changes

Issue happens only when interval partitions have been added which have high jumps in interval boundaries, e.g.:

Partitioning DDL is of type:

CREATE TABLE ... PARTITION BY RANGE (...) INTERVAL (1)
...
PARTITION "SYS_P29858" VALUES LESS THAN (1000) SEGMENT CREATION DEFERRED
PARTITION "SYS_P20633" VALUES LESS THAN (88889) SEGMENT CREATION DEFERRED
PARTITION "SYS_P20634" VALUES LESS THAN (888889) SEGMENT CREATION DEFERRED

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