How Data Locks Are Respected?
Page 1 of 1
How Data Locks Are Respected?
Here are the rules on how data locks are respected:
All statements ignore data locks owned its own transaction.
SELECT query statements ignores data locks owned by any transactions.
INSERT, UPDATE, and DELETE statements in a READ COMMITTED transaction will wait for
data locks on their targeted rows by other transactions to be released.
INSERT, UPDATE, and DELETE statements in a SERIALIZABLE transaction will fail if their
targeted rows has data locks owned by other transactions.
All statements ignore data locks owned its own transaction.
SELECT query statements ignores data locks owned by any transactions.
INSERT, UPDATE, and DELETE statements in a READ COMMITTED transaction will wait for
data locks on their targeted rows by other transactions to be released.
INSERT, UPDATE, and DELETE statements in a SERIALIZABLE transaction will fail if their
targeted rows has data locks owned by other transactions.
Similar topics
» How To View Existing Locks on the Database?
» How Oracle Handles Dead Locks?
» What Is a Data Lock?
» How To Experiment a Data Lock?
» What Is an Oracle Data File?
» How Oracle Handles Dead Locks?
» What Is a Data Lock?
» How To Experiment a Data Lock?
» What Is an Oracle Data File?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Sun Jan 31, 2010 12:35 am by Micheal
» Accessing tables of other users in SQL
Sun Jan 31, 2010 12:34 am by Micheal
» Grouping commands in SQL
Sun Jan 31, 2010 12:32 am by Micheal
» Operations on Result Sets in SQL
Sun Jan 31, 2010 12:31 am by Micheal
» Subqueries in SQL
Sun Jan 31, 2010 12:30 am by Micheal
» Joining Relations in SQL
Sun Jan 31, 2010 12:28 am by Micheal
» Delete comand in SQL
Sun Jan 31, 2010 12:27 am by Micheal
» Update command in SQL
Sun Jan 31, 2010 12:26 am by Micheal
» Insert command in SQL
Sun Jan 31, 2010 12:23 am by Micheal