DB2 V9.7
The DB is used by 1 application with no concurrent applications.
I got the problem that large update/insert cause lock escalation, to solve the issue I set a lock on the table so there's no row locking any more.
BUT
after setting a lock on a table (LOCK TABLE <table> IN EXCLUSIVE MODE;) I remain having the message " DB2 is performing lock escalation". This together with very bad performance.
Any sugestion why LOCK table is not working?
ADM5501I DB2 is performing lock escalation. The affected application is named
"db2bp.exe" , and is associated with the workload name "SYSDEFAULTUSER WORKLOAD"
and application ID "*LOCAL.DB2.101 002234850" at member "0". The total number
of locks currently held is "153966", and the target number of locks to hold is
"76983".
The DB is used by 1 application with no concurrent applications.
I got the problem that large update/insert cause lock escalation, to solve the issue I set a lock on the table so there's no row locking any more.
BUT
after setting a lock on a table (LOCK TABLE <table> IN EXCLUSIVE MODE;) I remain having the message " DB2 is performing lock escalation". This together with very bad performance.
Any sugestion why LOCK table is not working?
ADM5501I DB2 is performing lock escalation. The affected application is named
"db2bp.exe" , and is associated with the workload name "SYSDEFAULTUSER WORKLOAD"
and application ID "*LOCAL.DB2.101 002234850" at member "0". The total number
of locks currently held is "153966", and the target number of locks to hold is
"76983".
Comment