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 in SQL? How can you prevent it?

Answer Posted / hr@tgksolutions.com

A deadlock occurs when two or more transactions hold locks that the other needs, causing them to wait indefinitely.
Ways to prevent deadlocks:
• Use consistent lock ordering.
• Keep transactions short and fast.
• Use lower isolation levels when possible.
• Implement deadlock detection mechanisms.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to display row numbers with the records?

1066


What is a nested table?

1038


How to grant create session privilege to a user in oracle?

975


What happens if you set the sga too low in oracle?

1122


How to join two tables in a single query using oracle?

971


How can I create database in oracle?

998


what happened to the global index when I truncate the data in one of the partition?

2011


i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)

2307


What are transaction isolation levels supported by oracle?

1050


How to connect to oracle using service name instead of sid?

999


What is a system tablespace and when it is created?

959


Explain the use of analyse option in exp command.

1113


How to define an oracle cursor variable?

1016


What is a proxy class?

1020


How to resolve the ORA-39133 error in Oracle?

1095