When Number of Pending Statistics Increases, It Takes Time to Collect Statistical Information
(Doc ID 2642768.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 19.2.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
- Collecting statistics without publishing pending statistics, the following SQL takes long time:
delete /* QOSH:PURGE_OLD_STS *//*+ dynamic_sampling(4) */ from sys.wri$_optstat_histgrm_history where :1 = savtime and obj# = :2 and intcol# = nvl(:3, intcol#)
Changes
Increased pending statistics.
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 |