My Oracle Support Banner

Suboptimal Query when Gather Partition Stats on Reference Partitioned Table (Doc ID 761333.1)

Last updated on FEBRUARY 02, 2022

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.1.0.7 [Release 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Collecting stats on a partitioned table takes a long time.

Analyzing 10046 trace output, we can see for each partition there is a select similar to:

TBL$OR$IDX$PART$NUM is the key part to look at.

Cause

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
Symptoms
Cause
Solution
References

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