摘要:
1,获取锁方法:1.1管理视图:SELECT * FROM SYSIBMADM.SNAPLOCK with ur;select * from SYSIBMADM.LOCKS_HELD with ur; --拿到上述的agent_id,查询具体锁表的IP和应用程序 db2 list applicati 阅读全文
摘要:
1.sanpshot方式 db2 get monitor switches db2 "values application_id()" db2 get snapshot for application applid *LOCAL.DB2INST1.160426050147 2.db2pd 方式 db 阅读全文
摘要:
1.注意事项 在DB2COPY上执行,需要设置语句终止符号:"@"或者";"或者"/". 2.while 语句块 begin declare count int default 1; while (count<=100) do insert into test values(count, 'aaa' 阅读全文