Dbms_stats Fail to Gather Stale Subpartition Statistics, Leading to Bad Execution Plan
(Doc ID 2248344.1)
Last updated on FEBRUARY 21, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 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
- Query on table with subpartitions uses wrong execution plan,using wrong index
- Further investigate find subpartition statistics is out dated
Changes
Subpartition statistics was gathered some time ago.
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 |
References |