As well as the structure of the table... What (or how many) indexes are on
the table? Have you tried just analyzing the indexes, or perhaps just
table data?
Also, since I don't have a convenient environment to test this out... Can
someone please confirm what happens to a global index when only a partition
is analysed? Just curious really.
Andrey Bronfin
<andreyb@elrontel To: Multiple recipients of list
ORACLE-L <[EMAIL PROTECTED]>
esoft.com> cc:
Sent by: Subject: analyze table takes forever
[EMAIL PROTECTED]
30/10/2002 02:49
Please respond to
ORACLE-L
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
* 03-9254520
* 058-548133
* mailto:andreyb@;elrontelesoft.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Andrey Bronfin
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Privileged/Confidential information may be contained in this message.
If you are not the addressee indicated in this message
(or responsible for delivery of the message to such person),
you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender
by reply e-mail or by telephone on (61 3) 9612-6999.
Please advise immediately if you or your employer does not consent to
Internet e-mail for messages of this kind.
Opinions, conclusions and other information in this message
that do not relate to the official business of
Transurban City Link Ltd
shall be understood as neither given nor endorsed by it.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mark Richard
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).