Database Tuning (MOSC)

MOSC Banner

Running DBMS_STATS for a particular set of tables in a schema

edited Apr 2, 2009 7:19AM in Database Tuning (MOSC) 8 commentsAnswered
Hi,

We have DBMS_STATS scheduled for a schema to run on a daily basis and it takes around 3-4 hrs to complete. We just have only one active schema for the whole database.

One of our critical batch process hangs whenever we run it before the regular schedule of DBMS_STATS as the tables referred by the process gets updated a lot but it runs to success when we run it imeediately after the regular schedule of DBMS_STATS. For some business reasons we could not wait for the DBMS_STATS to complete daily before running the batch process and also we could not move the DBMS_STATS from the current schedule time. So we are planning to gather DBMS_STATS only for the set of tables referred by batch process before running it.

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