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 do you understand by recursive stored procedures?

989


What is sparse columns of sql server 2008?

1057


Can group functions be mixed with non-group selection fields in ms sql server?

944


Who is the owner of a schema in ms sql server?

1079


can a database be shrunk with users active? : Sql server administration

1011


What does null mean?

989


What encryption security is available in sql azure?

101


What stored by the master?

952


Explain having clause?

969


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

1091


How many types of cursor type are there?

1091


How to get a list of table columns using the "sp_columns" stored procedure in ms sql server?

1013


What are the features of Embedded SQL

1130


Why we use trigger in sql server with example?

962


How to list all tables in the database using odbc_tables()?

1052