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: Gregory Conron <gconron_at_hfx.andara.com>
Date: Wed, 30 May 2001 14:51:42 -0700
Message-ID: <F001.00314ACA.20010530144805@fatcity.com>

On May 30, 2001 03:21 pm, Jeremiah Wilton wrote:
> I have used compute statistics since version 7.3.2 up through
> 8.1.6, and never had it hold a table lock for the duration of the
> analyze. I don't know where people are getting the idea that
> compute statistics holds a lock and estimate doesn't. That just
> doesn't make sense. Why would compute need a lock? Are you saying
> I can estimate sample 99 percent, and get what amounts to a compute
> and avoid the supposed lock?

Any estimate over 50 will do a full compute. Doesn't require a lock on the table, however.

Cheers,
GC

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gregory Conron
  INET: gconron_at_hfx.andara.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 - 16:51:42 CDT

Original text of this message

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