Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> analyze table takes forever
Dear gurus !
We are trying to analyze a table partition (estimate 2 %) and it takes
forever.
analyze table ... partition (P20021022) estimate statistics sample 2
percent;
For instance, select count(*) from the same partition takes 10 minutes , but
the analyze takes literally infinite amount of time , once i left it to run
for half a day and killed it since it did not finish.
Even when i do analyze ... estimate statistics sample 100 rows; , it takes
almost 2 minutes to ananlyze 100 rows.
Any ideas ?
It's Oracle 8.1.6 on an expensive 6 CPUs HP machine with EMC storage.
Thanks a lot in advance.
DBAndrey
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Andrey Bronfin INET: andreyb_at_elrontelesoft.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Oct 29 2002 - 09:49:24 CST
![]() |
![]() |