What techniques will be used to avoid deadlock??
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How will you return the number of records in table?
When can an insert of a new primary key value threaten referential integrity?
What are foreign keys?
i want to maintain uniqueness on pdf without make lf??????????
when we are trying to update db2 rows. if the program abends . how we will know that the last successful update row was
What is the difference between SYNONYM and ALIAS?
Explain in brief how does db2 determine what lock-size to use?
Is it mandatory to use DCLGEN? If not, why would you use it at all?
What is referential integrity?
Is DECLARE TABLE in DCLGEN necessary? Why it used?
What is IMAGECOPY ?
what is the difference between where clause and having clause