特牛生活网

db2 reorg、runstats 命令详解-CSDN博客

网友收藏
文章浏览阅读8.9k次,点赞4次,收藏52次。名词解释:reorg 重组,重新放置数据位置。runstats 统计信息,可以优化查询器注意:执行完reorg,再执行runstats,顺序不能乱例如:db2下执行下面脚本call admin_cmd('reorg table 模式.表名');call admin_cmd('runstats on table 模式.表名 with distribution and detailed indexes all');一、reorgA、 reorgtable<tbs..._reorg
标签:reorg