新聞中心
此文章主要向大家講述的是DB2 sqlstate 57016 原因碼 "7"錯(cuò)誤的詳細(xì)解析,以下就是對DB2 sqlstate 57016 原因碼 "7"錯(cuò)誤的主要內(nèi)容的詳細(xì)描述,望大家在瀏覽之后會(huì)對其有更深的了解。

在建華等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站建設(shè)、外貿(mào)網(wǎng)站建設(shè) 網(wǎng)站設(shè)計(jì)制作按需規(guī)劃網(wǎng)站,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),成都品牌網(wǎng)站建設(shè),營銷型網(wǎng)站建設(shè),外貿(mào)網(wǎng)站建設(shè),建華網(wǎng)站建設(shè)費(fèi)用合理。
DB2, DB2調(diào)優(yōu)sqlstate, 詳解, quot
對表進(jìn)行任何操作都不被允許,提示SQLSTATE=57016 SQLCODE=-668 ,原因碼 "7"的錯(cuò)誤:
- SQL0668N Operation not allowed for reason code "7" on table XXX.
首先查一下:
- db2 ? 57016
SQLSTATE 57016: 因?yàn)楸聿换顒?dòng),所以不能對其進(jìn)行訪問。
解決方法為:執(zhí)行命令:reorg table XXX;即可。
參考原文為:
- Operation not allowed for reason code reason-code on table table-name.
- Explanation: Access to table table-name is restricted. The cause is based on the following reason codes reason-code: 7
- The table is in the reorg pending state.
- This can occur after an ALTER TABLE statement containing a REORG-recommended operation.7
- Reorganize the table using the REORG TABLE command (note that INPLACE REORG TABLE is not allowed for a table that is in the reorg pending state).
其中:
reorg table [table]通過重構(gòu)行來消除“碎片”數(shù)據(jù)并壓縮信息,對表進(jìn)行重組。
runstats on table . 收集表 的統(tǒng)計(jì)信息。
reorgchk on table all 確定是否需要對表進(jìn)行重組,對于對所有表自動(dòng)執(zhí)行 runstats 很有用。
>>> reorg 和runstats 都是單個(gè)表優(yōu)化,初始化的命令:
- runstats on table administrator.test;
- reorg table administrator.test;
以上的相關(guān)內(nèi)容就是對DB2 sqlstate 57016 原因碼 "7"錯(cuò)誤詳解的介紹,望你能有所收獲。
上述的相關(guān)內(nèi)容就是對DB2 sqlstate 57016 原因碼 "7"錯(cuò)誤詳解的描述,希望會(huì)給你帶來一些幫助在此方面。
分享題目:詳解DB2sqlstate57016原因碼"7"錯(cuò)誤
當(dāng)前網(wǎng)址:http://m.5511xx.com/article/cogsgce.html


咨詢
建站咨詢
