溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

impdp 導入數據報錯 ORA-01652

發布時間:2020-08-05 11:25:07 來源:網絡 閱讀:5367 作者:wangluochongzi 欄目:關系型數據庫

Oracle 11.2.0.4.0

Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

ORA-39171: Job is experiencing a resumable wait.

ORA-01652: unable to extend temp segment by 128 in tablespace TEMP

ORA-39171: Job is experiencing a resumable wait.

ORA-01652: unable to extend temp segment by 128 in tablespace TEMP

查看temp 表空間


SQL> select file_name,bytes/1024/1024 "MB",autoextensible,tablespace_name from dba_temp_files 

  2  ;


FILE_NAME

--------------------------------------------------------------------------------

        MB AUT TABLESPACE_NAME

---------- --- ------------------------------

/data0/oracle/oradata/hldbm/hldbm/temp01.dbf

     32767 YES TEMP

已經自動擴展到32G了,db_block為8192,dbf只能增長到32G。

解決方法:


給temp表空間添加tempfile并文件開啟autoextend。

SQL> alter tablespace temp add tempfile '/data0/oracle/oradata/hldbm/hldbm/temp02.dbf' size 1000M autoextend on;


Tablespace altered.


SQL> 

這里可能會出現添加一個tempfile還不夠用的現象,取決于導入數據數量的大小。因為impdp導入的是邏輯數據會吃內存。

導入完成后,再釋放temp空間。

釋放過程:

create temporary tablespace TEMP01   

     TEMPFILE '/data0/oracle/oradata/hldbm/hldbm/tempfile01.dbf' SIZE 1000M   

     REUSE AUTOEXTEND ON;


alter database default temporary tablespace TEMP01;  


drop tablespace temp including contents and datafiles; 


create temporary tablespace TEMP   

     TEMPFILE '/data0/oracle/oradata/hldbm/hldbm/temp01.dbf' SIZE 1000M   

     REUSE AUTOEXTEND ON;

alter database default temporary tablespace TEMP; 


drop tablespace TEMP01 including contents and datafiles; 


至此,完畢!





向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女