Database Administration (MOSC)

MOSC Banner

Schema analyze takes lot of time

edited Jun 16, 2011 7:06AM in Database Administration (MOSC) 8 commentsAnswered
 Hi,

We use Oracle 9i on Windows 2003 server. Our schema analyze is taking long time to complete ( more than 5 hours to complete 40% estimate for schema and 4 hours for another schema).

We use following command to take statistics:

exec dbms_stats.gather_schema_stats(SCHEMA_NAME,40,cascade=>TRUE);

Please let me know how can we reduce the time? Do you suggest to take stats daily basis? We have several tables which are modified daily.

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