如何看一个表是否需要做reorg?
先用reorgchk update statistics on table user导出列表。如果有*的表,需要做reorg
db2 reorgchk update statistics on table/schema tabname/schname
db2 reorgchk update statistics on table all
带星号的都需要reorg
执行这个操作的时候是否需要消耗资源或者产生什么锁?
很担心这个语句一执行,整个数据库的性能就受到极大的影响。
关于TWT使用指南社区专家合作厂商入驻社区企业招聘投诉建议版权与免责声明联系我们 © 2024talkwithtrend — talk with trend,talk with technologist京ICP备09031017号-30