Analyze table hangs for hours [message #426130] |
Wed, 14 October 2009 03:12 |
sundarfaq
Messages: 235 Registered: October 2007 Location: Chennai
|
Senior Member |
|
|
Hi,
Analyze table hangs for hours (more than 6 hrs) using DBMS_STATS.GATHER_TABLE_STATS.At last we killed the session and then rerun it.it runs succesfully completed.
Why DBMS_STATS.GATHER_TABLE_STATS hangs for hours for some time?
is this issue arise due to the GATHER_STATS_JOB schedule or any other issue?
please help me.
Thanks,
Michael Holding
|
|
|
|
|
Re: Analyze table hangs for hours [message #426139 is a reply to message #426130] |
Wed, 14 October 2009 03:30 |
balakrishnay
Messages: 54 Registered: September 2009 Location: Pune
|
Member |
|
|
Hi,
select sum(bytes/1024/1024)"size" from dba_segments where segment_name='&name';
Give me the output of this ..
and more ever if the table size is too huge .. then you should use estimate_percent=>10
Regards
Bala
|
|
|