GATHER_STATS_JOB taking to much time...
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
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
0