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: PD Miller <millerp_at_caribdata.co.uk>
Date: Wed, 30 May 2001 12:02:02 -0700
Message-ID: <F001.00314360.20010530120247@fatcity.com>

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).
Received on Wed May 30 2001 - 14:02:02 CDT

Original text of this message

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