Slow Performance When Querying V$SEGSTAT or GV$SEGSTAT Views
Last updated on NOVEMBER 03, 2016
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.2]
Information in this document applies to any platform.
- 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.
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