> Prior to Oracle ver 9 , yes.It is an exclusive lock ...Oracle 
> 9 has ONLINE 
> option which allows DML while analyzing table...

Mohammed,

Have to differ with you on this - ANALYZE may place a DDL lock, but not a
DML lock. This would have otherwise severely restricted concurrency. Should
be easy enough to prove: Run two simultaneous sessions, one ANALYZING and
one UPDATING a reasonably sized table on a test database.. Look at
V$SESSION_EVENT for enqueues, and you will not see any.

It is true that there is an ONLINE sub-clause, but this is applicable _only_
for the VALIDATE STRUCTURE clause, and not for collection of object
statistics that was referred by Rick. 

John Kanagaraj
Oracle Applications DBA
Hitachi Data Systems
Santa Clara, CA 
Phone: 408-970-7002 (W)
Fax: 408 327 3086 (Call/Email prior to fax)

> Reply-To: [EMAIL PROTECTED]
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> Date: Thu, 12 Sep 2002 06:33:29 -0800
> 
> Hi DBAs,
> 
> I would like to analyze a few tables in production.  My 
> question does it
> prevent any type of access i.e.,apply locks? If so I can wait 
> to do it off
> hours.
> 
> 
> Thanks
> Rick
> 
> 
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
>    INET: [EMAIL PROTECTED]
> 
> 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: [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).
> 
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Mohammad Rafiq
>   INET: [EMAIL PROTECTED]
> 
> 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: [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).
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

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: [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).

Reply via email to