What techniques will be used to avoid deadlock??

Answers were Sorted based on User's Feedback



What techniques will be used to avoid deadlock??..

Answer / 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

What techniques will be used to avoid deadlock??..

Answer / durga prasad

Increasing or decreasing maxlocks or locklist should be
taken from a memory point of view .but the primary thing to
be done is to reduce the work load into subunits so that
lager resultset is not created and try to use cs isolation
level where ever possible because using rr or rs isolation
level is an invitation for deadlocks.

Is This Answer Correct ?    2 Yes 1 No

What techniques will be used to avoid deadlock??..

Answer / chp

Thank You

Is This Answer Correct ?    0 Yes 0 No

What techniques will be used to avoid deadlock??..

Answer / majid

My name is Majid Altafi and would like to have Nahid
Gorji's contact information also. Can you help me with this
matter?
Thanks

Is This Answer Correct ?    1 Yes 1 No

What techniques will be used to avoid deadlock??..

Answer / sheida bamdad

My name is Sheida Bamdad and would like to have Nahid
Gorji's contact information. Can yo help me with this
matter?

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More DB2 Interview Questions

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

0 Answers  


What is declare cursor?

0 Answers  


What types of tables are there in the db2 database?

0 Answers  


What are the various locks available?

5 Answers   CTS,


What is a page in db2?

0 Answers  






What is a clustering index ?

3 Answers  


What is dynamic SQL?

1 Answers   ADP,


Can we declare DB2 HOST variable in COBOL COPY book?

2 Answers  


When can an insert of a new primary key value threaten referential integrity?

2 Answers   Mind Tree,


How connect db2 database to datastage?

0 Answers  


What is a predicate?

1 Answers  


What DB2 Catalog column tell you when an index needs table reorganized ?

1 Answers  


Categories