Schedule EXEC DBMS_STATS.gather_database_stats;
755678Oct 7 2010 — edited Oct 7 2010Hi Team,
I am working on a 11106 database on HPUX IA64 platform.
I need to schedule the gathering of statistics as SYS user every weekend (Saturday at 10PM).
The command is -> EXEC DBMS_STATS.gather_database_stats;
How do I do that? One way is to schedule a script in crontab. Is there any other alternative way in doing this? Does 11g collect database statistics automatically?
Please let me know your thoughts!
Thanks!