DB2查找最耗时SQL

两种方法:db2top和snapshot for dynamic sql 1. db2top -d <dbname> ? 按D,进入动态SQL监控 按z,倒序排序,然后输入需倒序排序的是第几列(序号是从0开始) ? 按L,输入SQL的序列号,查看SQL明细 ? 2. db2 get snapshot
posted @ 2020-09-17 12:07  爱奶茶的迪丽热巴  阅读(732)  评论(0编辑  收藏  举报