SQL Performance (MOSC)

MOSC Banner

DBMS_STATS

edited Feb 5, 2015 10:02AM in SQL Performance (MOSC) 4 commentsAnswered

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'),

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center