View previous topic :: View next topic |
Author |
Message |
sanat Beginner
Joined: 15 Feb 2003 Posts: 11 Topics: 7 Location: chennai
|
Posted: Thu May 08, 2003 8:45 am Post subject: Row-level locking |
|
|
How to achieve Row-level locking in DB2 ?
Has any one used rwo-level locking ? If yes, can you give us some examples.
(It was an interview question) |
|
Back to top |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu May 08, 2003 11:20 am Post subject: |
|
|
Check the LOCKSIZE parameter and, if needed, the ALTER TABLESPACE command. The benefit is less lock waits, the down side is that more locks are created which may cause your application to exceed the maximum lock thresh-hold. |
|
Back to top |
|
|
|
|