DBMS_STATS With METHOD_OPT =>'..SIZE auto' May Not Collect Histograms
(Doc ID 557594.1)
Last updated on MARCH 27, 2019
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 and laterOracle 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 Backup Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
- After stats are first gathered using DBMS_STATS with METHOD_OPT =>'FOR all COLUMNS SIZE auto', query runs poorly
- Histograms are not collected properly on the columns
- After re-gathering the stats with the same procedure, the query runs fine
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 |