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

what do you understand by change data capture?

748


What are sql servers used for?

721


What are the types of database schema? : sql server analysis services, ssas

783


What is the difference between count () and rowcount ()?

706


What are the types of indexing?

825






How to retrieve error messages using mssql_get_last_message()?

726


Tell me what is de-normalization and what are some of the examples of it?

762


How to loop through result set objects using odbc_fetch_row()?

648


How to set database to be read_only in ms sql server?

723


Explain acid?

800


What are the advantages of paper records?

723


What is nested transaction?

764


Explain sql server authentication modes?

788


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

800


What is a print index?

663