reorg之后,为什么需要rebind?如何rebind?

之前我都是reorg之后做runstats的,后来看了您的ppt之后发现要做rebind,请问为什么以及怎么做呢?以前做个db2 bind xxx.lst,重新编译,类似吗?显示全部

之前我都是reorg之后做runstats的,后来看了您的ppt之后发现要做rebind,请问为什么以及怎么做呢?

以前做个db2 bind xxx.lst,重新编译,类似吗?

收起
参与24

查看其它 3 个回答flywiththewind的回答

flywiththewindflywiththewind其它easy world

还可以使用db2rbind <database> -l /tmp/db2rbind.log all 来绑定所有的package

注意:结尾是否加关键字<all>的区别如下
all
Specifies that rebinding of all valid and invalid packages is to be done. If this option is not specified, all packages in the database are examined, but only those packages that are marked as invalid are rebound, so that they are not rebound implicitly during application execution.

https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/com.ibm.db2.luw.admin.cmd.doc/doc/r0001995.html

系统集成 · 2018-05-25
浏览6380

回答者

flywiththewind 最近回答过的问题

回答状态

  • 发布时间:2018-05-25
  • 关注会员:5 人
  • 回答浏览:6380
  • X社区推广