<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 :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理 ::
      397 隨筆 :: 33 文章 :: 29 評論 :: 0 Trackbacks
    關于DataFile的大小問題
    ?
    ??? 當發生臨時表空間不夠時,可以用以下語句來創建一個比較大的臨時表空間(各個文件可以創建到不同的磁盤以備用)
    ?
    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空間不足??梢杂靡韵路椒▉碓黾觮ablespace的空間:

    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表空間

    ?
    posted on 2009-03-29 21:50 decode360 閱讀(175) 評論(0)  編輯  收藏 所屬分類: 07.Oracle
    主站蜘蛛池模板: 免费a级毛片无码a∨蜜芽试看| 免费永久看黄在线观看app| 亚洲国产成人99精品激情在线| 日本一道本高清免费| 9久热这里只有精品免费| 亚洲精品电影在线| 夜色阁亚洲一区二区三区| 免费观看男人吊女人视频| 亚洲另类无码专区丝袜| 亚洲伊人色欲综合网| 女人18特级一级毛片免费视频| 成人免费乱码大片A毛片| 亚洲av永久综合在线观看尤物 | 一本色道久久综合亚洲精品| 成人黄色免费网站| 一级一看免费完整版毛片| 国产成人精品日本亚洲直接| 亚洲综合伊人久久综合| 午夜两性色视频免费网站| 国产精品免费观看调教网| 香蕉视频在线观看免费| 97se亚洲国产综合自在线| 日本红怡院亚洲红怡院最新| 国产一精品一aⅴ一免费| 午夜国产精品免费观看| 免费无码作爱视频| 欧亚一级毛片免费看| 亚洲免费网站在线观看| 国产成人精品日本亚洲| 亚洲国产成人久久综合碰| 全免费一级毛片在线播放| 69视频免费观看l| 中文日本免费高清| 日本激情猛烈在线看免费观看| 亚洲成人激情小说| 亚洲系列国产精品制服丝袜第| 亚洲精品高清无码视频| 亚洲片一区二区三区| 亚洲av无码成人精品区| 暖暖免费高清日本一区二区三区| 99久久久国产精品免费无卡顿|