Delete statistics in Oracle

Delete Stats for object in Oracle

Delete statistics of the complete database

EXEC DBMS_STATS.delete_database_stats;

Delete statistics of a single schema

EXEC DBMS_STATS.delete_schema_stats('DBACLASS');

Delete statistics of single table

EXEC DBMS_STATS.delete_table_stats('DBACLASS', 'DEPT');

Delete statistics of a column

EXEC DBMS_STATS.delete_column_stats('DBACLASS', 'DEPT', 'CLASS');

Delete statistics of an index

EXEC DBMS_STATS.delete_index_stats('DBACLASS', 'CLASS_IDX');

Delete dictionary statistics in db

EXEC DBMS_STATS.delete_dictionary_stats;
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply