Database Statistics Going Stale With Uncommitted Inserts
Last updated on JULY 06, 2017
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms