How to List the Objects with Stale Statistics Using dbms_stats.gather_schema_stats options=>'LIST STALE'
(Doc ID 457666.1)
Last updated on APRIL 14, 2021
Applies to:Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
Even though automated statistics gathering is in place and tables are monitored, some objects show very old dates in the last_analyzed column of dba_tables. This article shows you hove to use dbms_stats.gather_schema_stats options=>'LIST STALE' to resolve this.
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