What is a deadlock and what is a live lock? How will you go
about resolving deadlocks?

Answer Posted / sanjeev kumar

Dead Lock:
Deak Lock is a situation when two or more process
continuous working and each having a lock on a particular
record but at a time only one can lock a particular and the
other one will go to dead lock

Live Lock:
A human example of live lock would be two people who meet
face-to-face in a corridor and each moves aside to let the
other pass, but they end up moving from side to side without
making any progress because they always move the same way at
the same time and never cross each other. This is good
example of live lock.

Is This Answer Correct ?    29 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?

1305


how many triggers you can have on a table? : Sql server database administration

501


How to enter unicode character string literals in ms sql server?

582


What do you know about system database? : SQL Server Architecture

499


Differentiate between truncate vs delete in mssql?

532






Explain trigger classes i.e. Instead of and after trigger?

495


What is a full text index?

499


What is sql view?

547


Can you tell me about the concept of ER diagrams?

600


What is equi join with example?

562


What are different backups available in sql server?

613


Scalability, Availability, Integration with internet, etc.)?

2441


What is the difference between dropping a database and taking a database offline?

704


What is triggers in ms sql server?

644


How can we rewrite sub-queries into simple select statements or with joins?

532