Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / sagi.rahul

In SQL Server Live Lock occurs when read transactions are
applied on table which prevents write transaction to wait
indefinitely and Deadlocking occurs when two user processes
have locks on separate objects and each process is trying to
acquire a lock on the object that the other process has.

Lock escalation is the process of converting a lot of low
level locks (like row locks, page locks) into higher level
locks (like table locks).

Is This Answer Correct ?    12 Yes 2 No

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

Answer / 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

More SQL Server Interview Questions

What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?

0 Answers  


Explain cdc and sql injection?

0 Answers  


How can we delete Duplicate row in table?

0 Answers   Wipro,


Why are you getting errors when creating a new odbc dsn?

0 Answers  


What is truncate table?

0 Answers  


How do I change my passwords (database, LDAP, and so on) without causing an outage?

0 Answers   IBM,


Which is faster statement or preparedstatement?

0 Answers  


what is raid and what are different types of raid configurations? : Sql server database administration

0 Answers  


What is Data model and how to prepare a data model.?

1 Answers   TCS,


What action plan is preferred if sql server is not responding?

0 Answers  


How to defragment indexes with alter index ... Reorganize?

0 Answers  


how to determine the service pack currently installed on sql server? : Sql server database administration

0 Answers  


Categories