GuruKulki
GuruKulki

Reputation: 26418

How to change the lock timeout in db2?

I am getting Lock-acquisitionexception when I am running my Application on DB2, so i am suspecting the lock time needs to be changed. So how can I change the same? Or is there any other solutions to avoid exception.

Upvotes: 0

Views: 4982

Answers (1)

stacker
stacker

Reputation: 68942

From Top 10 performance tips

db2 "update db cfg for DBNAME using LOCKTIMEOUT 15"

Upvotes: 2

Related Questions