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: breakable parse lock

Re: breakable parse lock

From: Sultan Syed <ssyed_at_fine.ae>
Date: Mon, 5 Jul 2004 10:08:05 +0400
Message-ID: <000801c46256$6f912830$05000081@SULTAN1>


Thanks Gopal,

<In short breakable parse locks are library cache locks and TM locks protect the definition of the table during DDLs.>

This is where I am confused, while doing DDL it already acquired exclusive ddl lock to protect the definition of the table and stop dml against the table, then again why the TM lock.
please clarify.
Syed

Syed:

Breakable parse locks are library cache locks (of enqueue types L[A-P]) which are held briefly during the compilation time/parsing time of SQL or PL/SQL codes. They are released at the end of the compilation/parsing. They are known as breakable parse locks as they are not released, and only can be broken when the object is un-pinned.

TM locks are held on tables during DDLs (like partition addition, Index Rebuilds, View creation on that table, PDML and Analyze) to protect (lock!) the definition of the table.

In short breakable parse locks are library cache locks and TM locks protect the definition of the table during DDLs.


Have a nice day !!

Best Regards,
K Gopalakrishnan,
Co-Author: Oracle Wait Interface: Oracle Press 2004. http://www.amazon.com/exec/obidos/tg/detail/-/007222729X/

Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail

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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Mon Jul 05 2004 - 01:03:29 CDT

Original text of this message

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