DB2 SQL性能监视

db2 connect to sample

db2 "create event monitor db2ppms for statements write to file '/home/db2inst1/db2ppms'"
db2 "set event monitor db2ppms state=1"
db2 "set event monitor db2ppms state=0"

db2evmon -db sample -evm db2ppms >/home/db2inst1/db2ppms.out

你可能感兴趣的:(sql,db2)