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 / nivethitha somu

Livelock : A condition that occurs when two or more
processes continually change their state in response to
changes in the other processes. The result is that none of
the processes will complete. An analogy is when two people
meet in a hallway and each tries to step around the other
but they end up swaying from side to side getting in each
other's way as they try to get out of the way.

Deadlock : A condition that occurs when two processes are
each waiting for the other to complete before proceeding.
The result is that both processes hang. Deadlocks occur most
commonly in multitasking and client/server environments.
Ideally, the programs that are deadlocked, or the operating
system, should resolve the deadlock, but this doesn't always
happen.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are orphan records?

916


Explain what is lock escalation?

1040


What are different types of table joins?

989


How to use "begin ... End" statement structures in ms sql server?

1015


What are number line correlation administrators will use while working with a subquery?

1152


how would you troubleshoot blocking? : Sql server database administration

967


How to create a login account in ms sql server to access the database engine using "create login" statements?

1116


What are the advantages of passing name-value pairs as parameters?

1151


How to find the service pack installed? : sql server database administration

1010


What is single-user mode?

912


Explain few of the new features of sql server 2008 management studio

901


If a stored procedure is taking a table data type, how it looks?

6414


What is partition in sql server?

1021


What are the tools available in market as an alternative to sql server reporting services?

129


Once setting replication, is it potential to own a publisher as sixty four bit sql server and distributor or subscribers as a thirty two bit sql server?

982