Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / swapna

Deadlock is a situation when two processes, each having a
lock on one piece of data, attempt to acquire a lock on the
other's piece. Each process would wait indefinitely for
the other to release the lock, unless one of the user
processes is terminated. SQL Server detects deadlocks and
terminates one user's process.

A livelock is one, where a request for an exclusive lock
is repeatedly denied because a series of overlapping shared
locks keeps interfering. SQL Server detects the situation
after four denials and refuses further shared locks. A
livelock also occurs when read transactions monopolize a
table or page, forcing a write transaction to wait
indefinitely

Is This Answer Correct ?    87 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a natural primary key?

1044


How do triggers work?

933


Will the writetext statement activate a trigger?

1093


What are the reporting services components?

142


What are key constraints?

974


What is the difference between migration and upgradation in sql server?

1095


What is the difference between Clustered and Non-Clustered Index?

1059


Can you leave a union at any time?

1061


What happens if you delete a table that is used by a view?

990


Explain the creation and execution of a user-defined function in the sql server?

1051


What is use of except clause? How it differs from not in clause?

1019


Is it possible to update the views? If yes, how, if not, why?

1029


What is the recovery model? List the types of recovery model available in sql server?

906


Can You Use Data Mining Models In Ssrs?

145


What is the default order of an order by clause?

994