Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Analyze

RE: Analyze

From: Smith, Ron L. <rlsmith_at_kmg.com>
Date: Mon, 16 Jul 2001 15:07:31 -0700
Message-ID: <F001.0034B9B3.20010716152030@fatcity.com>

Here is the syntax I am using:
execute dbms_utility.analyze_schema('PROD','COMPUTE');

Is there anything that might have made the analyze run so long? By the way, we are running 7.3.4.

Ron

-----Original Message-----
Sent: Monday, July 16, 2001 5:32 PM
To: Multiple recipients of list ORACLE-L

Really? On our approx. 200GB production DB (8.1.6 on Win2k) DBMS_Utility.Analyze_Schema takes about an hour each morning (estimate, sample 5%). I tried DBMS_Stats.Gather_Schema_Stats with 5% sampling a few weeks ago and finally killed the thing after almost 3 hours and, if I remember correctly, much more than usual CPU utilization.

I know it's the recommended tool, but how do you get better performance from DBMS_Stats?

Thanks.

Jack



Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
japplewhite_at_inetprofit.com
(512)327-9068

-----Original Message-----
Spence
Sent: Monday, July 16, 2001 4:30 PM
To: Multiple recipients of list ORACLE-L

Why not use DBMS_STATS? It is faster.

"Walking on water and developing software from a specification are easy if both are frozen."

Christopher R. Spence
Oracle DBA
Fuelspot

-----Original Message-----
Sent: Monday, July 16, 2001 9:46 AM
To: Multiple recipients of list ORACLE-L

I have an Analyze Schema running once a week for a 35G instance. The Analyze is taking about 9 hours. This is too long. What is the opinion on doing an Analyze on a percentage of the data? 20%? 40%?

Ron Smith

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Jack C. Applewhite
  INET: japplewhite_at_inetprofit.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Smith, Ron L.
  INET: rlsmith_at_kmg.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Jul 16 2001 - 17:07:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US