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

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

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

    Decode360's Blog

    業精于勤而荒于嬉 QQ:150355677 MSN:decode360@hotmail.com

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理 ::
      302 隨筆 :: 26 文章 :: 82 評論 :: 0 Trackbacks
    ??? 當發生臨時表空間不夠時,可以用以下語句來創建一個比較大的臨時表空間(各個文件可以創建到不同的磁盤以備用)
    ?
    SQL>create temporary tablespace TMPACCT2 tempfile '/u02/oradata/acct/tmpacct2-1.dbf' size 10M autoextend on next 10M maxsize 2000M;
    SQL> alter tablespace TMPACCT2 add tempfile '/u02/oradata/acct/tmpacct2-2.dbf' size 10M autoextend on next 10M maxsize 2000M;
    SQL> alter tablespace TMPACCT2 add tempfile '/u02/oradata/acct/tmpacct2-3.dbf' size 10M autoextend on next 10M maxsize 2000M;
    SQL> alter tablespace TMPACCT2 add tempfile '/u02/oradata/acct/tmpacct2-4.dbf' size 10M autoextend on next 10M maxsize 2000M;
    SQL> alter tablespace TMPACCT2 add tempfile '/u02/oradata/acct/tmpacct2-5.dbf' size 10M autoextend on next 10M maxsize 2000M;
    SQL> alter user TCICDR TEMPORARY TABLESPACE TMPACCT2;
    ?
    ??? 當遇到ORA-01652: unable to extend temp segment by 128 in tablespace xxxxx問題的時候,并不代表就是temp表空間不足,因為雖然Oracle會首先在臨時表空間中創建需要創建的object,但是在最后還是需要將其轉換到實際的tablespace中,而到tablespace空間不足時,創建的事務被打斷,SMON檢測到之后就會find the temporary extents out there and clean them up,所以這里的“temp segment”其實是指實際的tablespace空間不足。可以用以下方法來增加tablespace的空間:

    SQL> alter database datafile '&f' autoextend off;
    old?? 1: alter database datafile '&f' autoextend off
    new?? 1: alter database datafile '/home/ora10gr2/oracle/product/10.2.0/oradata/ora10gr2/system01.dbf' autoextend off

    Database altered.

    SQL> create table ttt tablespace system as select * from all_objects;
    create table ttt tablespace system as select * from all_objects
    *
    ERROR at line 1:
    ORA-01652: unable to extend temp segment by 128 in tablespace SYSTEM

    SQL> alter database datafile '&f' autoextend on next 10m maxsize 31g;
    old?? 1: alter database datafile '&f' autoextend on next 10m maxsize 31g
    new?? 1: alter database datafile '/home/ora10gr2/oracle/product/10.2.0/oradata/ora10gr2/system01.dbf' autoextend on next 10m maxsize 31g

    Database altered.

    SQL> create table ttt tablespace system as select * from all_objects;

    Table created.

    --當然僅為舉例,實際中千萬不要把用戶表創建到SYSTEM表空間

    ?




    -The End-

    posted on 2009-03-29 21:50 decode360-3 閱讀(487) 評論(0)  編輯  收藏 所屬分類: Toy
    主站蜘蛛池模板: 一级毛片免费观看不收费| 亚洲熟妇AV一区二区三区浪潮| 特级一级毛片免费看| 日本免费一区二区三区最新| 中国亚洲呦女专区| 男女交性永久免费视频播放| 国产精品亚洲专区无码不卡| 国产精品二区三区免费播放心 | 999国内精品永久免费观看| 精品亚洲国产成AV人片传媒| 亚洲精品免费网站| 在线综合亚洲欧洲综合网站| 国产成人精品高清免费| 一区二区三区免费电影| 亚洲精品无码Av人在线观看国产| 国内精品久久久久影院免费 | 免费激情网站国产高清第一页 | 亚洲欧洲无码AV不卡在线| 日本免费一区尤物| 中文字幕在线免费播放| 亚洲AV日韩AV天堂久久| 青苹果乐园免费高清在线| 香港特级三A毛片免费观看 | 亚洲国产精品免费在线观看| 成熟女人特级毛片www免费| 麻豆91免费视频| 亚洲AV无码一区东京热久久| 国产国产人免费视频成69堂| 亚洲a无码综合a国产av中文| 国产精品亚洲精品日韩已方| 一个人免费日韩不卡视频| a视频免费在线观看| 亚洲美女视频一区二区三区| 成人毛片免费观看视频大全| 国产精品视频全国免费观看| 国产男女猛烈无遮挡免费视频网站| 国产免费A∨在线播放| 亚洲最大成人网色香蕉| 自拍偷自拍亚洲精品第1页 | 在线播放免费人成毛片乱码| 亚洲精品二三区伊人久久|