What is live lock and deadlock?
what is Lock escalation?

Answer Posted / zeeshu

LIVE LOCK: when a process is running but it doesnt do any useful work at all but it consumes the cpu time.


DEADLOCK: IN SIMPLE MEANING when a process is requesting for a resource which is held by some other process,and that process is waiting for the resource which is holding by the previous process,then there is a condition of deadlock....

converting low level lock to high level lock is lock escalation

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

you accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover? : Sql server administration

721


What is store procedure? When do you use?

529


What are subqueries in sql server? Explain its properties.

548


Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .

1493


Is foreign key a primary key?

513






You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?

1726


In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance

1561


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

577


Explain hostprotectionattribute in sql server 2005?

601


What are exact numeric data types in ms sql server?

514


Write a sql query to get zero records from a table having n number of records?

710


Can a table have 2 primary keys?

512


What are “lost updates”?

617


what are constraints? : Sql server database administration

529


What do you understand by coalesce in sql server?

501