Database Statistics Going Stale With Uncommitted Inserts
(Doc ID 2282114.1)
Last updated on MARCH 28, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
- Database statistics going stale for no apparent reason
- A small number of tables are showing a large number of changes in DBA_TAB_MODIFICATIONS and subsequently their statistics are being declared as being stale even though there is no sign of these changes happening to the actual table
- Following is an example of the issue:
Compare and check this from both the sessions.
You should be able to see both committed and uncommitted database in dba_tab_modifications after flushing.
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