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

Answer Posted / soma

transaction is said to be in the state of live-lock if it
cannot proceed for a indefinite period of time while the
other transaction in the system continue normally. this may
occur if the waiting scheme for lock item is unfair giving
priority to some other transaction.

deadlock: is a situation where two or more transaction are in
a simultaneous wait sate,each of them wait for the other to
release a lock before it can proceed.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you change the data type of a column in a table after the table has been created? If so, which command would you use?

641


What is the contrast between sql and pl/sql?

623


How to get the definition of a stored procedure back?

530


What is store procedure? How do they work?

583


Explain forward - only cursors?

521






What is a trace frag?

646


What is dbcc? Give few examples.

582


What functions can a view be used to performed?

626


What do you understand by the denormalisation?

555


How do I find my localdb version?

498


Tell me what is use of except clause? How it differs from not in clause?

518


code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that

1758


Explain various data region available in ssrs with their use?

494


What are horizontal and vertical scaling?

145


Can you force a query to use a specific index?

533