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 techniques will be used to avoid deadlock??

Answer Posted / nahid gorji

-Minimize the lock size as much as possible.
- Maximize the sharing of the resource by using CS or UR
Isolation levels when possible.
- Minimize the number of rows in one page for frequently
used tables if you want to avoid row locksize.
- use CURRENTDATA( NO) to avoid acuiring locks.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

2108


Mention some fields that are a part of sqlca.

1089


Explain how can you do the explain of a dynamic sql statement?

1173


How can you classify the locks in db2?

1130


How can deadlocks be resolved?

985


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1219


What is the use of value function?

1203


How to compare data between two tables in db2?

1136


What is bind and rebind in db2?

1186


Why do we need reorg in db2?

1040


What is runstats db2?

1073


What is db2 stogroup?

1220


Explain in detail about buffer manager and its functionalities?

1135


What is cursor with hold option in db2?

1134


What is db2 plan table?

1104