My Oracle Support Banner

How to purge huge data from SYS.WRI$_OPTSTAT_HISTGRM_HISTORY (Doc ID 2737308.1)

Last updated on AUGUST 25, 2021

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


 DELETE historical data from sys.wri$_optstat_histgrm_history without ending up failing with ORA-1555 error

exec dbms_stats.purge_stats(sysdate - 7); Does not work


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.