expdp 全庫匯入報錯總結
2014.11.27
環境:11.2.0.3 64位
impdp \'/ as sysdba\' directory=imp27 full=y dumpfile=full_%U.dmp logfile=fullimp.log parallel=10 table_exists_action=replace;
由於開發的需要,做了一次正式庫全庫匯出,在倒入到測試庫。結果出現一些報錯:
ORA-31684: Object type TABLESPACE:"UNDOTBS1" already exists
ORA-31684: Object type TABLESPACE:"USERS" already exists
ORA-31684: Object type TABLESPACE:"TBS_SD_BL" already exists
ORA-39083: Object type TABLESPACE failed to create with error:
ORA-02494: invalid or missing maximum file size in MAXSIZE clause
Failing sql is:
CREATE TABLESPACE "TBS_VIEW_BL" DATAFILE '/u04/datafile/TBS_VIEW_BL01.dbf' SIZE 8589934592 AUTOEXTEND ON NEXT 10485760 M
AXSIZE 5120M LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SP
ACE MANAGEMENT AUTO
Failing sql is:
ALTER USER "SYS" IDENTIFIED BY VALUES 'S:F911CF680FFB1D8DCB017DCCF55D4D464F72B7D45C6CB3E85092DC58D601;CA908C0E625F4F62'
TEMPORARY TABLESPACE "TEMP2"
Processing object type DATABASE_EXPORT/SCHEMA/USER
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'TEMP2' does not exist
Failing sql is:
ALTER USER "SYSTEM" IDENTIFIED BY VALUES 'S:D8DC00054068D35077EA3B307F27DEA44708DF6F14FB8E364CF2B81F164E;2D594E86F93B17
A1' TEMPORARY TABLESPACE "TEMP2"
ORA-31684: Object type USER:"SYSMAN" already exists
ORA-31684: Object type USER:"MGMT_VIEW" already exists
ORA-31684: Object type ROLE:"SELECT_CATALOG_ROLE" already exists
ORA-31684: Object type ROLE:"EXECUTE_CATALOG_ROLE" already exists
ORA-31684: Object type DB_LINK:"U_CL_CTL"."ZZHD195" already exists
ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMPLATE_REFGROUPS_S" already exists
ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMPLATE_OBJECTS_S" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"OLAPSYS" skipped, base object type SEQUENCE:"OLAPSYS"."CWM2_OLAP_ENABLESE
Q" already exists
ORA-31684: Object type DIRECTORY:"DATA_PUMP_DIR" already exists
ORA-31684: Object type DIRECTORY:"XMLDIR" already exists
ORA-31684: Object type CONTEXT:"EM_USER_CONTEXT" already exists
ORA-31684: Object type CONTEXT:"STORAGE_CONTEXT" already exists
Processing object type DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
ORA-31684: Object type SYNONYM:"PUBLIC"."OL$" already exists
ORA-31684: Object type SYNONYM:"PUBLIC"."OL$HINTS" already exist
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-23327: imported deferred rpc data does not match GLOBAL NAME of importing db
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ZBSHOES','x86_64/Linux 2.4.xx');
END;
上面的報錯資訊,都是安裝倒入日誌的的先後順序,
1、在做全庫倒入的時候,要先把相應的表空間建上,不然可能由於路徑的原因報錯,上面的有建立TBS_VIEW_BL 表空間失敗。
2、全庫倒入的時候,不需要建立使用者,但是我試驗的情況,建上也沒關係,最多提示使用者已存在,其實這個報錯可以忽略。
3、全庫倒入的時候,會一次檢查,使用者,角色,檢視,DIRECTORY,儲存過程,許可權,同義詞... 最後一步就是insert表資料。
環境:11.2.0.3 64位
impdp \'/ as sysdba\' directory=imp27 full=y dumpfile=full_%U.dmp logfile=fullimp.log parallel=10 table_exists_action=replace;
由於開發的需要,做了一次正式庫全庫匯出,在倒入到測試庫。結果出現一些報錯:
ORA-31684: Object type TABLESPACE:"UNDOTBS1" already exists
ORA-31684: Object type TABLESPACE:"USERS" already exists
ORA-31684: Object type TABLESPACE:"TBS_SD_BL" already exists
ORA-39083: Object type TABLESPACE failed to create with error:
ORA-02494: invalid or missing maximum file size in MAXSIZE clause
Failing sql is:
CREATE TABLESPACE "TBS_VIEW_BL" DATAFILE '/u04/datafile/TBS_VIEW_BL01.dbf' SIZE 8589934592 AUTOEXTEND ON NEXT 10485760 M
AXSIZE 5120M LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SP
ACE MANAGEMENT AUTO
Failing sql is:
ALTER USER "SYS" IDENTIFIED BY VALUES 'S:F911CF680FFB1D8DCB017DCCF55D4D464F72B7D45C6CB3E85092DC58D601;CA908C0E625F4F62'
TEMPORARY TABLESPACE "TEMP2"
Processing object type DATABASE_EXPORT/SCHEMA/USER
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'TEMP2' does not exist
Failing sql is:
ALTER USER "SYSTEM" IDENTIFIED BY VALUES 'S:D8DC00054068D35077EA3B307F27DEA44708DF6F14FB8E364CF2B81F164E;2D594E86F93B17
A1' TEMPORARY TABLESPACE "TEMP2"
ORA-31684: Object type USER:"SYSMAN" already exists
ORA-31684: Object type USER:"MGMT_VIEW" already exists
ORA-31684: Object type ROLE:"SELECT_CATALOG_ROLE" already exists
ORA-31684: Object type ROLE:"EXECUTE_CATALOG_ROLE" already exists
ORA-31684: Object type DB_LINK:"U_CL_CTL"."ZZHD195" already exists
ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMPLATE_REFGROUPS_S" already exists
ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMPLATE_OBJECTS_S" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"OLAPSYS" skipped, base object type SEQUENCE:"OLAPSYS"."CWM2_OLAP_ENABLESE
Q" already exists
ORA-31684: Object type DIRECTORY:"DATA_PUMP_DIR" already exists
ORA-31684: Object type DIRECTORY:"XMLDIR" already exists
ORA-31684: Object type CONTEXT:"EM_USER_CONTEXT" already exists
ORA-31684: Object type CONTEXT:"STORAGE_CONTEXT" already exists
Processing object type DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
ORA-31684: Object type SYNONYM:"PUBLIC"."OL$" already exists
ORA-31684: Object type SYNONYM:"PUBLIC"."OL$HINTS" already exist
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-23327: imported deferred rpc data does not match GLOBAL NAME of importing db
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ZBSHOES','x86_64/Linux 2.4.xx');
END;
上面的報錯資訊,都是安裝倒入日誌的的先後順序,
1、在做全庫倒入的時候,要先把相應的表空間建上,不然可能由於路徑的原因報錯,上面的有建立TBS_VIEW_BL 表空間失敗。
2、全庫倒入的時候,不需要建立使用者,但是我試驗的情況,建上也沒關係,最多提示使用者已存在,其實這個報錯可以忽略。
3、全庫倒入的時候,會一次檢查,使用者,角色,檢視,DIRECTORY,儲存過程,許可權,同義詞... 最後一步就是insert表資料。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016688/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- expdp匯出報錯ORA-39127
- 三維引擎匯入obj模型全黑總結OBJ模型
- MYSQL5.7.22全庫備份匯入MYSQL8.0.20報錯ERROR3554MySqlError
- Oracle資料泵匯出匯入(expdp/impdp)Oracle
- expdp報錯ORA-39181
- EXPDP匯出報ORA-31693 ORA-29913 ORA-01861錯誤
- 然後再全庫匯入排除view資料庫在impdp匯入View資料庫
- oracle dblink用法總結和expdp和impdp利用dblink倒入匯出到本地Oracle
- Oracle 12c expdp和impdp匯出匯入表Oracle
- vs2022匯入optional庫optional還報錯,解決
- js匯入匯出總結與實踐JS
- emmc 報錯總結
- Python報錯總結Python
- Mysql資料庫使用Navicat Mysql匯入sql檔案報錯MySql資料庫
- mysql匯入報錯怎麼解決?MySql
- oracle 11g expdp匯出報ORA-24001Oracle
- Oracle使用資料泵expdp,impdp進行資料匯出匯入Oracle
- Django 報錯資訊總結Django
- Kubernetes安裝報錯總結
- 【資料泵】EXPDP匯出表結構(真實案例)
- 匯入sql時報日期型別錯誤SQL型別
- oracle匯入TYPE物件報錯ORA-02304Oracle物件
- Linux_Centos_yum報錯總結LinuxCentOS
- Python匯入包報錯(沒有這個包)Python
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- impdp/expdp報錯: ORA-39064: 無法寫入日誌檔案 ORA-29285: 檔案寫入錯誤
- expdp匯出報ORA-31693、ORA-02354、ORA-01466
- 三維引擎匯入obj模型不可見總結OBJ模型
- expdp 匯出時指定節點
- RabbitMQ由淺入深入門全總結(二)MQ
- RabbitMQ由淺入深入門全總結(一)MQ
- 記一次expdp匯出任務中某張大表報錯問題的解決過程
- impdp匯入報ORA-00001 ORA-04088錯誤
- mysql匯入sql檔案報錯 ERROR 2013 2006 2002MySqlError
- PyCharm匯入Selenium包時報錯,需要升級pipPyCharm
- Python種匯入模組的三種方式總結Python
- Redis資料匯入工具優化過程總結Redis優化
- Harbor企業級倉庫錯誤總結
- PysimpleGui sg.Image()匯入圖片總是報錯,有什麼解決辦法嗎GUI