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

List out the difference between union and union all in sql server?

523


What is difference between equi join and inner join?

485


How to create a local temporary stored procedure?

501


What are clustered and non-clustered index?

550


Can you explain what is sql server english query?

541






How can a database be repaired?

568


How do I shrink an ldf file?

572


Name some of the open source software that you can use in alternative to SSR?

105


What are the Advantages of using CTE in sql server?

572


List the advantages of using stored procedures?

563


What is the use of floor function in sql server?

555


What is the largest component inside a field?

532


How to display a past time in days, hours and minutes?

575


Can a database be shrunk with users active?

607


Give me any three differences between Truncate and Delete.

573