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

What is the error code -803 ?

3 Answers  


what is diffrence b/w file-aid tool and file-aid utility???

1 Answers  


what is the input to PLAN? what is the input to DBRM?

4 Answers  


If I have a view which is a join of two or more tables, can this view be updatable?

3 Answers  


Is the primary key a clustered index?

0 Answers  






What are the 2 sqlcodes that are returned?

0 Answers  


Which transaction use a command thread ?

1 Answers  


What techniques will be used to avoid deadlock??

5 Answers   IBM, SUN,


what are extents?

5 Answers  


Hi i need to write a query on the following requirement. SELECT COMM_TEXT INTO :WS_MIKM_COMM_TEXT FROM MPIPROD.MIKMV01 WHERE ACCOUNT_NO = :WFD_ACCOUNT_NO AND (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT AND SUBSTR(COMM_TEXT,47,14) = :WS_DENY_DESC) OR (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT) The above query is to be modified. The requirement is if both the fields are equal then that has to be given priority. In the above query if it satisfies any one it comes out without checking if both being equal is possible.

1 Answers  


Explain about open switch business continuity software?

0 Answers  


Usually, which is more important for DB2 system performance - CPU processing or I/O access?

1 Answers  


Categories