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

Can you force a query to use a specific index?

950


Can you create a logon trigger in sql server 2005 express edition?

1085


How you can move data or databases between servers and databases in sql server?

1055


What is the importance of concurrency control?

1232


How to execute multiple stored procedures at one time in sql server?

1017


Is null in sql server?

996


Explain different types of locks in sql server.

1085


What are different types of statement?

1022


Describe how to use linked server?

1025


What is cursors?

1193


What is a data source or ds? : sql server analysis services, ssas

1012


What is instead of dml trigger?

1009


Why variables called the most powerful component of ssis?

1083


How fixed length strings are truncated and padded?

982


What is stretch database in sql server?

1070