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 table and locking

RE: Analyze table and locking

From: Christopher Spence <cspence_at_FuelSpot.com>
Date: Wed, 30 May 2001 12:53:22 -0700
Message-ID: <F001.0031462B.20010530124657@fatcity.com>

nice to see you posting again :)

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

Christopher R. Spence
Oracle DBA
Fuelspot

-----Original Message-----
Sent: Wednesday, May 30, 2001 4:03 PM
To: Multiple recipients of list ORACLE-L

At 8:10 -0800 30/5/01, Riyaj_Shamsudeen_at_i2.com wrote:
>In earlier versions (7.3 ?) 'analyze ..compute' used to take table
>level locks. From 8 onwards, compute or estimate does not take any
>table level or row level locks at all...

Sorry, not true. From at least 7.2.3 (the oldest I have here) there was no table-level locking for any analyze statement.

As for the preferment for estimate, Oracle has the last laugh - if you estimate on a percentage greater than 50% or specify rows greater than half the number of rows in the table, Oracle analyzes the entire table.

Regards

Paul Miller

-- 
-
Carib Data Limited

<mailto:millerp_at_caribdata.co.uk>
<http://www.caribdata.co.uk>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: PD Miller
  INET: millerp_at_caribdata.co.uk

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: Christopher Spence
  INET: cspence_at_FuelSpot.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 Wed May 30 2001 - 14:53:22 CDT

Original text of this message

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