<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Introduction to Live Lock &#8211; What is Live Lock?</title>
	<atom:link href="http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 23 May 2013 14:22:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Nikita</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-469323</link>
		<dc:creator><![CDATA[Nikita]]></dc:creator>
		<pubDate>Sun, 05 May 2013 06:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-469323</guid>
		<description><![CDATA[u have given a nice real life example]]></description>
		<content:encoded><![CDATA[<p>u have given a nice real life example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #021 &#124; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-442558</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #021 &#124; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 23 Mar 2013 01:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-442558</guid>
		<description><![CDATA[[...] Introduction to Live Lock – What is Live Lock? A Live lock is one, where a request for exclusive lock is denied continuously because a series of overlapping shared locks keeps on interfering each other and to adapt from each other they keep on changing the status which further prevents them to complete the task. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Introduction to Live Lock – What is Live Lock? A Live lock is one, where a request for exclusive lock is denied continuously because a series of overlapping shared locks keeps on interfering each other and to adapt from each other they keep on changing the status which further prevents them to complete the task. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Locking, Blocking and Deadlock &#8211; Quiz &#8211; Puzzle &#8211; 9 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-234542</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Locking, Blocking and Deadlock &#8211; Quiz &#8211; Puzzle &#8211; 9 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Tue, 10 Jan 2012 01:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-234542</guid>
		<description><![CDATA[[...] of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for whole [...]]]></description>
		<content:encoded><![CDATA[<p>[...] of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for whole [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Locking and Blocking &#8211; Important Aspect of Database and Effect on Performance &#8211; Quiz &#8211; Puzzle &#8211; 5 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-232123</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Locking and Blocking &#8211; Important Aspect of Database and Effect on Performance &#8211; Quiz &#8211; Puzzle &#8211; 5 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 01:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-232123</guid>
		<description><![CDATA[[...] of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for whole [...]]]></description>
		<content:encoded><![CDATA[<p>[...] of Snapshot Isolation – Reduce the Blocking Transactions TRANSACTION, DML and Schema Locks Introduction to Live Lock – What is Live Lock? Applying NOLOCK Hint at Query Level – NOLOCK for whole [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: riteshshahsh</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-167408</link>
		<dc:creator><![CDATA[riteshshahsh]]></dc:creator>
		<pubDate>Mon, 12 Sep 2011 05:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-167408</guid>
		<description><![CDATA[this is online community and one has to think twice before putting *nonsense* comments. if anybody wants an example or something they can ask to blogger or search online at any other place.

http://social.msdn.microsoft.com/Forums/en-US/sqldatabaseengine/thread/478aa50f-b7dd-43fb-bb90-813057a6a1ed/]]></description>
		<content:encoded><![CDATA[<p>this is online community and one has to think twice before putting *nonsense* comments. if anybody wants an example or something they can ask to blogger or search online at any other place.</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en-US/sqldatabaseengine/thread/478aa50f-b7dd-43fb-bb90-813057a6a1ed/" rel="nofollow">http://social.msdn.microsoft.com/Forums/en-US/sqldatabaseengine/thread/478aa50f-b7dd-43fb-bb90-813057a6a1ed/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anilkumar</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-136546</link>
		<dc:creator><![CDATA[anilkumar]]></dc:creator>
		<pubDate>Wed, 25 May 2011 06:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-136546</guid>
		<description><![CDATA[--1
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
BEGIN TRAN
SELECT * FROM authors

--2
UPDATE authors 
SET au_lname = &#039;X&#039;
WHERE au_id = &#039;238-95-7766&#039;

--3
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
BEGIN TRAN
SELECT * FROM authors

--4
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
BEGIN TRAN
SELECT * FROM authors

--5
EXEC sp_who2

You will see that 2 is blocked by 1, 3 is blocked by 2 and 4 is blocked by 3. Theoretically, 3 and 4 could execute (there&#039;s only a shared lock), but queuing makes 3 and 4 to wait. This is how livelocks are avoided: queuing.]]></description>
		<content:encoded><![CDATA[<p>&#8211;1<br />
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE<br />
BEGIN TRAN<br />
SELECT * FROM authors</p>
<p>&#8211;2<br />
UPDATE authors<br />
SET au_lname = &#8216;X&#8217;<br />
WHERE au_id = &#8217;238-95-7766&#8242;</p>
<p>&#8211;3<br />
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE<br />
BEGIN TRAN<br />
SELECT * FROM authors</p>
<p>&#8211;4<br />
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE<br />
BEGIN TRAN<br />
SELECT * FROM authors</p>
<p>&#8211;5<br />
EXEC sp_who2</p>
<p>You will see that 2 is blocked by 1, 3 is blocked by 2 and 4 is blocked by 3. Theoretically, 3 and 4 could execute (there&#8217;s only a shared lock), but queuing makes 3 and 4 to wait. This is how livelocks are avoided: queuing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hi</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-124966</link>
		<dc:creator><![CDATA[hi]]></dc:creator>
		<pubDate>Fri, 25 Mar 2011 06:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-124966</guid>
		<description><![CDATA[Thank you for the no nonsense example.]]></description>
		<content:encoded><![CDATA[<p>Thank you for the no nonsense example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liliya</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-114496</link>
		<dc:creator><![CDATA[liliya]]></dc:creator>
		<pubDate>Wed, 26 Jan 2011 20:36:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-114496</guid>
		<description><![CDATA[May I ask what is the need to event another name for lock wait in MS SQL Server documentation? Live lock is an invented term it appears to be, not a term that was used in transaction processing research. I see it in interview questions even. your explanation with humans does have a problem so... databases that implement locking mechanisms do not work like humans . Livelock is a case of resource starvation. are suggesting that SQL Server 2000 and/or 2005 and/or 2008 scheduler and dead lock detection mechanism is faulty? would you be willing to present the test case for live locks in any of these versions please? it would pretty much mean that lock acquisition hierarchy in ms sql server is faulty.]]></description>
		<content:encoded><![CDATA[<p>May I ask what is the need to event another name for lock wait in MS SQL Server documentation? Live lock is an invented term it appears to be, not a term that was used in transaction processing research. I see it in interview questions even. your explanation with humans does have a problem so&#8230; databases that implement locking mechanisms do not work like humans . Livelock is a case of resource starvation. are suggesting that SQL Server 2000 and/or 2005 and/or 2008 scheduler and dead lock detection mechanism is faulty? would you be willing to present the test case for live locks in any of these versions please? it would pretty much mean that lock acquisition hierarchy in ms sql server is faulty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ankur</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-87019</link>
		<dc:creator><![CDATA[ankur]]></dc:creator>
		<pubDate>Wed, 08 Sep 2010 04:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-87019</guid>
		<description><![CDATA[Pinal,

Awesome explanation.....

Can you please provide a  live senario example with select statements and some update statements.]]></description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>Awesome explanation&#8230;..</p>
<p>Can you please provide a  live senario example with select statements and some update statements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biru</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-74707</link>
		<dc:creator><![CDATA[Biru]]></dc:creator>
		<pubDate>Fri, 04 Jun 2010 07:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-74707</guid>
		<description><![CDATA[Hi Pinal, 
i have a situation below mention (sql server 2005)

sql session1: where i am inserting the table

begin Tran T1 
insert into test values(16,&#039;xyz&#039;)
waitfor delay &#039;00:00:30&#039;
commit tran t1

sql session2:where i am selecting the data from a table

select * from test 

the first session is taking 30 seconds, at the same time if i fired a query on the same table(test) it gives the result while the first session gets completed, so 
why begin Trans is locking the whole table instead of row lock, Please give me the idea..]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
i have a situation below mention (sql server 2005)</p>
<p>sql session1: where i am inserting the table</p>
<p>begin Tran T1<br />
insert into test values(16,&#8217;xyz&#8217;)<br />
waitfor delay &#8217;00:00:30&#8242;<br />
commit tran t1</p>
<p>sql session2:where i am selecting the data from a table</p>
<p>select * from test </p>
<p>the first session is taking 30 seconds, at the same time if i fired a query on the same table(test) it gives the result while the first session gets completed, so<br />
why begin Trans is locking the whole table instead of row lock, Please give me the idea..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sourav</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-50875</link>
		<dc:creator><![CDATA[Sourav]]></dc:creator>
		<pubDate>Sat, 11 Apr 2009 19:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-50875</guid>
		<description><![CDATA[Can you tell me the way to check the transctions are creatiung blocking and also to see the entire command of text which is doing the steps now

e.g, 

dbcc inputbuffer()

through this we generally can&#039;t get the entire operation string which is working. how to retrieve the entire command working?]]></description>
		<content:encoded><![CDATA[<p>Can you tell me the way to check the transctions are creatiung blocking and also to see the entire command of text which is doing the steps now</p>
<p>e.g, </p>
<p>dbcc inputbuffer()</p>
<p>through this we generally can&#8217;t get the entire operation string which is working. how to retrieve the entire command working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chintan</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-42214</link>
		<dc:creator><![CDATA[Chintan]]></dc:creator>
		<pubDate>Sat, 30 Aug 2008 21:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-42214</guid>
		<description><![CDATA[Live lock is resolved automatically by the SQL Server, when process tries to acquire exclusive lock and denied 4 times, SQL Server Engine release those Shared locks on the resources and allows exclusive lock on the resource.]]></description>
		<content:encoded><![CDATA[<p>Live lock is resolved automatically by the SQL Server, when process tries to acquire exclusive lock and denied 4 times, SQL Server Engine release those Shared locks on the resources and allows exclusive lock on the resource.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CJ</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-42213</link>
		<dc:creator><![CDATA[CJ]]></dc:creator>
		<pubDate>Sat, 30 Aug 2008 21:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-42213</guid>
		<description><![CDATA[Pinal,

Gud explanation abt live lock. But if you can tell us how to avoid Live lock or is there a way to find it and resolve it? If you have a scrip or something if you can share with us.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>Gud explanation abt live lock. But if you can tell us how to avoid Live lock or is there a way to find it and resolve it? If you have a scrip or something if you can share with us.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PP</title>
		<link>http://blog.sqlauthority.com/2008/03/21/sql-server-introduction-to-live-lock-what-is-live-lock/#comment-34715</link>
		<dc:creator><![CDATA[PP]]></dc:creator>
		<pubDate>Sun, 30 Mar 2008 12:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=543#comment-34715</guid>
		<description><![CDATA[Your example was a good one to describe the theory :)]]></description>
		<content:encoded><![CDATA[<p>Your example was a good one to describe the theory :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
