Database Tuning (MOSC)

MOSC Banner

GATHER_STATS_JOB taking to much time...

edited Sep 20, 2012 1:33AM in Database Tuning (MOSC) 11 commentsAnswered
Hi,we are having problems with GATHER_STATS_JOB on our Oracle10g server, its taking to much time, and usually never finishes..
How would Oracle decide what percentage of data to sample? when checking the DBA_TABLES I found that some tables with 100 of millions of rows have sample_size equal to num_rows..
I know this is still an estimate, but does that mean that GATHER_STATS_JOB tries to compute statistics for the whole table of 100 of millions of rows? and is that one of the reasons why its taking too much time?

Regards,
Alaa

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