Query on dba_segments view takes too long time
(Doc ID 2284808.1)
Last updated on SEPTEMBER 20, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
- Query on dba_segments view takes too long time on a database that has lots of subpartitions
- When looking at an 10046 trace, it takes time at I_INDSUBPART_POBJSUBPART$, one of indexes of table INDSUBPART$, for example:
Changes
Sub-partitions were created in the database but Statistics for dictionary have not been collected. Automatic optimizer statistics collection(auto task of 'auto optimizer stats collection') was disabled to collect statistics of tables manually.
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 |
Changes |
Cause |
Solution |