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 126.96.36.199 to 188.8.131.52 [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.
- 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:
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.
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