DBMS_STATS
Hi All,
We have an OLTP system with around 1000 tables and 500 indexes. Overnight this switched to be more of a batch mode system.
We currently have a weekly dbms_stats at schema level that runs overnight on a Saturday evening to re-generate statistics on a weekly basis.
We use Oracle defaults when it comes to dbms_stats:
SQL> select
2 DBMS_STATS.GET_PREFS ('AUTOSTATS_TARGET'),
3 DBMS_STATS.GET_PREFS ('CASCADE'),
4 DBMS_STATS.GET_PREFS ('DEGREE'),
5 DBMS_STATS.GET_PREFS ('ESTIMATE_PERCENT'),
6 DBMS_STATS.GET_PREFS ('METHOD_OPT'),
7 DBMS_STATS.GET_PREFS ('NO_INVALIDATE'),
8 DBMS_STATS.GET_PREFS ('GRANULARITY'),
9 DBMS_STATS.GET_PREFS ('PUBLISH'),