Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Lock Types and their internal implementation

575729May 26 2008 — edited May 28 2008
Hi

oracle has two type of locks

Dml locks and DDL locks.

DML LOCKS
Table level locks
row level locks
partition locks

I will only discuss DML locks so skiping DDL locks

Now row level lock (Rx) are set by a byte in the row head of a blocks.
TM lock is set by ........(dont know may be by set a byte at segament level)
Partition locks .......... find no information about it..

also from documentation i found the following locks

RS (row share) ......... How its set internal at block level
SRX (Share row exclusive ). ..................
X (Exclusive)

I know oracle locks at lowest level. The purpose of this thread should be under which conditions these locks were used and how they are implemented internal at block level ..

Thanks
Nicks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2008
Added on May 26 2008
7 comments
666 views