SQL tutorial | Interview questions | Oracle
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What Is a Data Lock?

Go down

What Is a Data Lock? Empty What Is a Data Lock?

Post by Micheal Sun Jan 17, 2010 3:39 am

A data lock is logical flag the Oracle server is placed on data objects to give an exclusive right to
a transaction. Statements in other transactions needs to respect data locks based on certain
rules. Rules on data locks are:
SELECT query statements do not create any data locks.
INSERT, UPDATE, and DELETE statements create data locks on the affected rows.
Data locks are released when the owner transaction ends

Micheal
Admin

Posts : 243
Join date : 2010-01-10

http://sql-tutorial.co.cc

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum