<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    DB2中SQLSTATE=57016 SQLCODE=-668,原因碼 "7"的解決

    對表進行任何操作都不被允許,提示SQLSTATE=57016 SQLCODE=-668 ,原因碼 "7"的錯誤:SQL0668N? Operation not allowed for reason code "7" on table XXX. 解決方法為:執(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 ? <tablename> ? 通過重構行來消除“碎片”數(shù)據(jù)并壓縮信息,對表進行重組。
    ?? runstats ? on ? table ? <tbschema>.<tbname> ? 收集表 ? <tbname> ? 的統(tǒng)計信息。
    ?? reorgchk ? on ? table ? all ? 確定是否需要對表進行重組,對于對所有表自動執(zhí)行 ? runstats ? 很有用。
    ? >>> reorg ? 和runstats ? 都是單個表優(yōu)化,初始化的命令:?
    ???????????runstats on table administrator.test;
    ?????????? reorg table administrator.test;?

    posted on 2007-08-06 14:51 心硯 閱讀(53120) 評論(5)  編輯  收藏 所屬分類: DB

    評論

    # re: DB2中SQLSTATE=57016 SQLCODE=-668,原因碼 "7"的解決[未登錄] 2009-11-10 09:48 徐斌

    很有幫助,問題已解決,謝謝!  回復  更多評論   

    # re: DB2中SQLSTATE=57016 SQLCODE=-668,原因碼 "7"的解決 2013-04-16 10:34 sy

    好使,謝謝  回復  更多評論   

    # re: DB2中SQLSTATE=57016 SQLCODE=-668,原因碼 "7"的解決 2013-04-19 11:27 秦俑

    多謝,管用,很好用。  回復  更多評論   

    # re: DB2中SQLSTATE=57016 SQLCODE=-668,原因碼 "7"的解決[未登錄] 2014-02-27 10:45 FISH

    reorg table 後可以了  回復  更多評論   

    # re: DB2中SQLSTATE=57016 SQLCODE=-668,原因碼 "7"的解決 2015-03-03 09:49 dh

    謝謝,可以了。可是這是為什么呢?  回復  更多評論   

    <2013年4月>
    31123456
    78910111213
    14151617181920
    21222324252627
    2829301234
    567891011

    導航

    統(tǒng)計

    常用鏈接

    留言簿(2)

    隨筆分類

    文章分類

    文章檔案

    Forum

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲国产精品专区| 国产成人精品久久亚洲| 国产免费一区二区三区| 国产亚洲精品无码拍拍拍色欲| 成年轻人网站色免费看| 91老湿机福利免费体验| 一级毛片**不卡免费播| 女人体1963午夜免费视频| 亚洲午夜免费视频| 日本h在线精品免费观看| 日本黄网站动漫视频免费| 国产精品69白浆在线观看免费 | 中国人免费观看高清在线观看二区 | 国产高清免费视频| 日本免费网站视频www区| 在线观看日本免费a∨视频| 中文字幕无码视频手机免费看 | 99久久久国产精品免费牛牛四川| 精品亚洲永久免费精品| 中文字幕免费在线观看| 91九色精品国产免费| 成年人网站在线免费观看| 日韩毛片免费在线观看| 亚洲AV无码不卡在线观看下载| 亚洲真人日本在线| 婷婷亚洲久悠悠色悠在线播放 | 国产国拍亚洲精品福利 | 青青视频免费在线| 国产午夜无码片免费| 一级毛片**不卡免费播| 无码专区永久免费AV网站| 在线视频免费国产成人| 亚洲一级特黄大片无码毛片| 国产AV无码专区亚洲AV毛网站| 亚洲视频在线不卡| 亚洲第一综合天堂另类专 | 亚洲精品综合久久中文字幕| 亚洲人成人77777在线播放| 亚洲gay片在线gv网站| 黄色短视频免费看| 亚洲高清中文字幕免费|