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

Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?

634


What command is used to delete a table from the database in the sql server and how?

540


How do use Having,Group by,Group function in SQL?

1352


The external application that is executed in one of the tasks does not have a log file, but only a screen log. How can I save the data from the screen? : sql server management studio

522


How can you set the threshold at which sql server will generate keysets asynchronously?

565






What is the datatype of rowid?

506


What is the use of group by clause?

525


How do I find the default sql server instance?

518


What xml support does the sql server extend?

527


What is a cache in ssrs?

110


Do you know what are various aggregate functions that are available?

525


Tell me what do you mean by an execution plan? Why is it used? How would you view it?

523


What is xdr?

562


‘Order by’ is not allowed in a view how can you sort information from a view?

582


Explain how to integrate the ssrs reports in application?

518