1.使用DB2工具将SQC文件预编译成C文件和bnd文件. 命令: db2 prep ***.sqc version * package using * bindfile BLOCKING ALL INSERT BUF DATETIME ISO queryopt 9 LONGERROR NO 解释:***代表要进行预编译的文件名. version参数后面跟一个版本号,比如:1,2,3等数字. 此参数非常重要,可以区分多人编译的不同版本.package using 参数后面跟一个指定的名称,该名称
1.执行次数最多的TOP10SQL"db2 "select * from sysibmadm.snapdyn_sql order by NUM_EXECUTIONS desc fetch first 10 rows only"2.平均执行时间最长的TOP10SQL"db2 "select * from sysibmadm.top_dynamic_sql order by average_execution_time_s desc fetch first
http://www.cnblogs.com/kfarvid/archive/2010/12/15/1906776.html db2的博文 -bash-3.2$ db2 connect to cashman Database Connection Information Database server = DB2/AIX64 9.7.0 SQL authorization ID = DB2INST1 Local database alias = CASHMAN -bas
相关链接 https://vinaysdb2blog.blogspot.com/2017/11/how-to-resolve-sql20249n-statement-was-not-processed-error.html 转载 https://www-01.ibm.com/support/docview.wss?uid=swg22002381 Technote (troubleshooting) Problem(Abstract) In this scenario you perform a