System Stats using EXECUTE dbms_stats.gather_system_stats('Start');
Hi All,
I have a few questions regarding system stats I was wondering if anyone can help with. We have a mixture of 11g and 12c instances running standard edition which we never gather system stats for
1) How important is it to gather stats. We have the odd performance issue using the default stats in sys.aux_stats$. Would generating system stats have the potential to improve performance of queries in general?
2) How long should we gather stats for. For instance BAU is usually 8am-7pm. Overnight backups/batch jobs are from 7pm-8am. For instance:
begin
sys.dbms_stats.gather_system_stats(