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

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

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

    我的java天地

    oracle ORA-14452錯誤處理

    create global temporary table on commit preserve rows 用于會話相關,也就在事務結束后truncate data in the temporary table,但如果在會話未結束時要修改temporary table就會出現錯誤:

    ORA-14452: attempt to create, alter or drop an index on temporary table already in use
    經查,該錯誤的解釋為:
    Cause: An attempt was made to create, alter or drop an index on temporary table which is already in use.
    Action: All the sessions using the session-specific temporary table have to truncate table and all the transactions using transaction specific temporary table have to end their transactions.

    處理步驟:
    1、先從user_objects中查詢到該表的object_id:
    select object_id from user_objects where object_name=upper('TMP_365100930');

    2、根據查到的object_id知道使用該表的session:
    select * from v$lock where id1=&object_id;

    3、在從v$session視圖中查到該session的SID和SERIAL#:
    select * from v$session where sid=181;

    4、殺掉這些進程:
    alter system kill session SID,SERIAL#;

    posted on 2009-12-18 17:18 tobyxiong 閱讀(991) 評論(0)  編輯  收藏 所屬分類: DATABASES

    <2009年12月>
    293012345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    導航

    統計

    常用鏈接

    留言簿(3)

    隨筆分類(144)

    隨筆檔案(157)

    相冊

    最新隨筆

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 青青青国产在线观看免费网站| 国产精品亚洲专区无码不卡| 成人免费视频小说| 一级做a爰片久久毛片免费陪 | 亚洲黄片手机免费观看| 亚洲免费在线观看视频| 国产精品xxxx国产喷水亚洲国产精品无码久久一区 | 午夜不卡AV免费| 亚洲日韩国产AV无码无码精品| 亚洲激情在线视频| 日日噜噜噜噜夜夜爽亚洲精品| 毛片免费vip会员在线看| 99re在线这里只有精品免费| 中国好声音第二季免费播放| 污污免费在线观看| 国产亚洲视频在线观看网址| 亚洲欧美日韩综合俺去了| 99久久婷婷国产综合亚洲| 亚洲嫩草影院久久精品| 亚洲黄色中文字幕| 亚洲综合激情六月婷婷在线观看 | 无码人妻一区二区三区免费| 日本一区二区三区免费高清| 成年人视频免费在线观看| 91精品成人免费国产片| 四虎影视大全免费入口| 日本成人在线免费观看| 四虎国产精品免费视| 亚洲人成人无码网www国产| 免费一级毛片正在播放| 亚洲色精品88色婷婷七月丁香| 相泽亚洲一区中文字幕| 亚洲自偷自拍另类12p| 亚洲一本之道高清乱码| 67194在线午夜亚洲| 一级毛片高清免费播放| 嫩草成人永久免费观看| 在线观看人成视频免费| 亚洲乱码无码永久不卡在线| 亚洲ts人妖网站| h片在线播放免费高清 |