如何判断DOL表需要reorg?
时间:2010-12-27
来源:互联网
如何判断DOL表需要reorg?
有没有什么不影响业务的重建方法?
一般都怎么去reorg 呢?
有没有什么不影响业务的重建方法?
一般都怎么去reorg 呢?
作者: piml_lv 发布时间: 2010-12-27
判断表是否需要执行reorg操作,可以先用datachange函数来判断表上的更新频率。
对于DOL可以用with resume 和 time参数。 对于APL表的话,找个空闲时间吧,或者重建索引也行。
对apl表执行regorg rebuild操作的时候会加锁影响业务使用。
对于DOL可以用with resume 和 time参数。 对于APL表的话,找个空闲时间吧,或者重建索引也行。
对apl表执行regorg rebuild操作的时候会加锁影响业务使用。
作者: andkylee 发布时间: 2010-12-27
When you run reorg rebuild on a table, it locks the table for the entire time it takes to rebuild the table and its indexes. This means that you should schedule the reorg rebuild command on a table when users do not need access to the table.
All of the other reorg commands, including reorg rebuild on an index, lock a small number of pages at a time, and use short, independent transactions to perform their work. You can run these commands at any time. The only negative effects might be on systems that are very I/O bound.
All of the other reorg commands, including reorg rebuild on an index, lock a small number of pages at a time, and use short, independent transactions to perform their work. You can run these commands at any time. The only negative effects might be on systems that are very I/O bound.
作者: andkylee 发布时间: 2010-12-27
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28