DB2 查看锁
db2 activate database dbname ;
db2pd -db eos -locks showlock wait ;
select tbspace , tabschema , tabname , tableid , tbspaceid from syscat.tables where tbspaceid = 2 and tableid = 156 ;
db2 activate database dbname ;
db2pd -db eos -locks showlock wait ;
select tbspace , tabschema , tabname , tableid , tbspaceid from syscat.tables where tbspaceid = 2 and tableid = 156 ;