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

How to check table values in sql server?

530


How to perform key word search in tables?

527


Do you know how to store and query spatial data?

602


Explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?

512


What is the difference between delete and truncate statements?

566






Do you know the isolation level that sql server support?

525


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

514


Explain Normalization and DE normalization

606


What is function of CUBE ?

607


How will you know when statistics on a table are obsolete?

605


To automatically record the time on which the data was modified in a table, which data type should you choose for the column?

533


How do I view a stored procedure in sql server?

515


List the different normalization forms?

536


Explain different forms of normalization?

530


Define cursor locking

550