Slow Performance When Querying V$SEGSTAT or GV$SEGSTAT Views
(Doc ID 1532624.1)
Last updated on MAY 19, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.4 [Release 11.2]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
- Queries accessing v$segstat or gv$segstat view are slow due to an extremely high number of rows in the underlying fixed table X$KSOLSFTS.
- Gathering statistics on fixed table X$KSOLSFTS does not complete
- Tracing the problem query shows extremely high number of rows being returned for table X$KSOLSFTS. The high row count is illustrated by the following query (cancelled before completion):
- This may manifest itself on a single node of a Real Application Cluster (RAC) database while other nodes do not experience a problem.
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 |