470,625 Members | 2,015 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,625 developers. It's quick & easy.

DB2 NS rows lock

1
hi,

I have db2 v8.1.6 on aix 5l and WAS v5.0 on aix 5l.

when the java application connect to database and execute a query 'simple query' reading from single table. number of rows in it 15000 and result data 5000. after a while all connection want to read this data become in lock-wait state. after tacking snapshots for database locks and the agent that locking the table. i found that agent lock the table with IS and each row in the result set'5000' with NS lock.

Any body can till me whats gone on and why that case happen, where it's not always happening.
Jan 21 '07 #1
0 1522

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Shane Niebergall | last post: by
4 posts views Thread by Andre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.