<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 閱讀(499) 評論(0)  編輯  收藏 所屬分類: Toy
    主站蜘蛛池模板: 亚洲精品黄色视频在线观看免费资源| 好看的亚洲黄色经典| 国产精品亚洲专区在线观看| 免费h视频在线观看| 亚洲欧洲日产国码av系列天堂| 国产黄片不卡免费| 亚洲综合伊人久久综合| 一区二区视频免费观看| 亚洲精品无码Av人在线观看国产 | 国产日韩AV免费无码一区二区| 亚洲无线一二三四区手机| 日亚毛片免费乱码不卡一区| 一区国严二区亚洲三区| 国产精品福利片免费看| 国产亚洲精品a在线观看app| 亚洲精品免费在线观看| 久久亚洲精品无码AV红樱桃| 波多野结衣中文字幕免费视频 | 精品久久久久久久免费加勒比| 亚洲日本成本人观看| 国产精品无码免费视频二三区| 色屁屁在线观看视频免费| 亚洲成a人片在线观看老师| 日本免费A级毛一片| 亚洲精品欧洲精品| 毛片a级毛片免费播放下载| 亚洲JIZZJIZZ妇女| 亚洲区小说区激情区图片区| 8x8x华人永久免费视频| 国产亚洲中文日本不卡二区| 在线观看91精品国产不卡免费| 人妻无码中文字幕免费视频蜜桃| 亚洲欧洲成人精品香蕉网| 无码日韩精品一区二区三区免费 | 亚洲国产一区二区a毛片| 一个人免费观看视频www| 丁香六月婷婷精品免费观看| 久久精品国产亚洲AV网站| 亚洲精品视频免费看| 特级毛片爽www免费版| 亚洲综合色丁香麻豆|