DB2 锁升级示例
2012-08-20 17:01:56 来源:WEB开发网 厂商工程师反映系统无法登陆,一直停留在登陆界面。
用db2top查看,只发现数据库中有大量lock,当时不确定算不算异常,
后来lock信息没有,再看diag文件中,就有了锁升级的日志:
012-08-20-13.11.16.283971+480 E1667A534 LEVEL: Warning
PID : 8913288 TID : 200350 PROC : db2sysc 1
INSTANCE: db2sdin1 NODE : 001 DB : SX1
APPHDL : 1-6590 APPID: 10.20.0.201.59482.120820011850
AUTHID : SXZMUSER
EDUID : 200350 EDUNAME: db2agent (SX1) 1
FUNCTION: DB2 UDB, data management, sqldEscalateLocks, probe:3
MESSAGE : ADM5502W The escalation of "1" locks on table
"SXZMUSER.T_ZMC_CASEINFO" to lock intent "X" was successful.
2012-08-20-13.11.16.447937+480 E2202A3716 LEVEL: Warning
PID : 8913288 TID : 193369 PROC : db2sysc 1
INSTANCE: db2sdin1 NODE : 001 DB : SX1
APPHDL : 1-6587 APPID: 10.20.0.201.59479.120820011847
AUTHID : SXZMUSER
EDUID : 193369 EDUNAME: db2agent (SX1) 1
FUNCTION: DB2 UDB, data management, sqldEscalateLocks, probe:1
MESSAGE : ADM5501I DB2 is performing lock escalation. The affected application
is named "db2jcc_application", and is associated with the workload
name "SYSDEFAULTUSERWORKLOAD" and application ID
"10.20.0.201.59479.120820011847" at member "1". The total number of
locks currently held is "21", and the target number of locks to hold
is "10". The current statement being executed is "select
caseinfo0_.LIST_ID as LIST1_0_, caseinfo0_.CASECODE as CASECODE126_0_,
caseinfo0_.CASENAME as CASENAME126_0_, caseinfo0_.PARTYCODE as
PARTYCODE126_0_, caseinfo0_.BILL_ID as BILL5_126_0_,
caseinfo0_.BILL_CODE as BILL6_126_0_, caseinfo0_.VERSIONCODE as
VERSIONC7_126_0_, caseinfo0_.CASEYEAR as CASEYEAR126_0_,
caseinfo0_.CASENO as CASENO126_0_, caseinfo0_.CASEDATE as
CASEDATE126_0_, caseinfo0_.CASEPLACE as CASEPLACE126_0_,
caseinfo0_.PARTYNAME as PARTYNAME126_0_, caseinfo0_.PARTYMORECODE as
PARTYMO13_126_0_, caseinfo0_.PARTYMORENAME as PARTYMO14_126_0_,
caseinfo0_.CARCODE as CARCODE126_0_, caseinfo0_.CARNAME as
CARNAME126_0_, caseinfo0_.CASEKIND as CASEKIND126_0_,
caseinfo0_.CASEKINDNAME as CASEKIN18_126_0_, caseinfo0_.CASEVALUE as
CASEVALUE126_0_, caseinfo0_.PUNISHVALUE as PUNISHV20_126_0_,
caseinfo0_.UNDERTAKENPEOPLE as UNDERTA21_126_0_, caseinfo0_.DEPTCODE
as DEPTCODE126_0_, caseinfo0_.DEPTNAME as DEPTNAME126_0_,
caseinfo0_.CHECKDEPTCODE as CHECKDE24_126_0_, caseinfo0_.DISPOSALCODE
as DISPOSA25_126_0_, caseinfo0_.APPROVEDATE as APPROVE26_126_0_,
caseinfo0_.CASESOURCECODE as CASESOU27_126_0_, caseinfo0_.CASEBRIEF
as CASEBRIEF126_0_, caseinfo0_.TRAFFICTYPE as TRAFFIC29_126_0_,
caseinfo0_.CASETOOL as CASETOOL126_0_, caseinfo0_.ISSYSTEM as
- ››db2 对float类型取char后显示科学计数法
- ››DB2中出现SQL1032N错误现象时的解决办法
- ››DB2 锁升级示例
- ››db2诊断系列之---定位锁等待问题
- ››db2 命令选项解释
- ››升级nginx到1.2.0
- ››升级openssh和openssl
- ››升级你的ISO到Ubuntu 11.10 正式版
- ››DB2 最佳实践: 使用 DB2 pureXML 管理 XML 数据的...
- ››DB2 9.5 SQL Procedure Developer 认证考试 735 准...
- ››DB2 9.5 SQL Procedure Developer 认证考试 735 准...
- ››DB2 9.5 SQL Procedure Developer 认证考试 735 准...
更多精彩
赞助商链接