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

What is a table index in oracle?

1185


A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.

5677


What is recovery manager in Oracle?

1108


What is backup in Oracle?

1076


Explain oracle’s server parameter file.

1040


How to check the oracle tns settings?

1087


Explain about the analyze command in oracle?

1109


What happens to the data files if a tablespace is dropped?

1107


How to define an anonymous block?

1245


master table and child table performances and comparisons in Oracle ?

2195


State some uses of redo log files?

1064


How to assign a tablespace to a users in oracle?

1088


Explain the use of log option in exp command.

1183


How to convert characters to times in oracle?

1070


What is a schema in oracle?

1064