Hi All,
I have troubles to interpret the output from DB2 snapshot monitor using table function.
Statement used: select lock_wait_time,lock_waits from table(snapshot_database('dbname',-1 )) as snapshot_db
Output: LOCK_WAIT_TIME = 0, LOCK_WAITS = 1049
My question is if the total wait_time is 0, why are there some waits at all? Further more, after I RESET MONITOR ALL, the query result is till the same. What does LOCK_WAITS mean?
Any advice and input is highly appreciated. Thanks.