It is recommended to run gather statistics reqularly, especially after upgrades or running catalog scripts:
exec DBMS_STATS.GATHER_DICTIONARY_STATS();
exec DBMS_STATS.GATHER_FIXED_OBJECTS_STATS();
Also it is recommended to gather hardware based statistics after database first created or a hardware maintenance has been done
exec DBMS_STATS.gather_system_stats('start');
exec DBMS_STATS.gather_system_stats('stop');
You may query aux_stats$ system view to see system stat results:
select * from aux_stats$
No comments:
Post a Comment