DBMS_STATS Job Poor Performance on a Large Partition or Sub-partitioned Table Due to Statement Syntax Missing Proper Granularity
Last updated on MARCH 08, 2017
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [Release 11.1 to 11.2]
Information in this document applies to any platform.
- There is a problem regarding the amount of time required to collect stats for an existing table.
- You are using DBMS_STATS to collect statistics for the object
- This table is partitioned and has many partitions
Some common changes associated with newly detected slow statistics collection include: Upgrade, patching or migration.
Other sources include new statistics collection methods such as changes from scheduled stats collection or granularity
For the specific SR leading to this note the user was re-introducing statistics collection for a targeted table after a prolonged suspension of statistics collection.
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