DataPump Import Of Object Types Fails With Errors ORA-39083 ORA-2304(筆錄)
DataPump Import Of Object Types Fails With Errors ORA-39083 ORA-2304
操作環境:expdp user 匯出,匯入同庫 impdp other user
expdp system/oracle DIRECTORY=dump DUMPFILE=expdp_u1.dmp LOGFILE=expdp_u1.log SCHEMAS=u1
impdp system/oracle DIRECTORY=dump DUMPFILE=expdp_u1.dmp LOGFILE=impdp_u1.log REMAP_SCHEMA=u1:u2
錯誤資訊:
CREATE TYPE "U2"."MY_COLTYPE" OID '0EA263913ADD0054E0530A7C54FB799B' AS OBJECT (nr NUMBER, txt VARCHAR2(10))
ORA-39083: Object type TYPE failed to create with error:
ORA-02304: invalid object identifier literal
解決方法:
impdp system/oracle DIRECTORY=dump DUMPFILE=expdp_u1.dmp LOGFILE=impdp_u1.log REMAP_SCHEMA=u1:u2 TRANSFORM=oid:n
注:you can use the Import DataPump parameter TRANSFORM which enables you to alter object creation DDL for the types. The value N (= No) for the transform name OID implies that a new OID is assigned.
問題原因:
The object types MY_COLTYPE and MY_TABTYPE already exist in the source schema U1. When the types are exported, we also export the object_identifier (OID) of the types. Within the current archictecture, the object-identifier needs to be unique in the database.
During import (into the same database), we try to create the same object types in the U2 schema. As the OID of the types already exists in the source schema U1, the types cannot be created in the target schema U2. Import will fail due to:
ORA-02304: invalid object identifier literal
本文源於:DataPump Import Of Object Types Fails With Errors ORA-39083 ORA-2304 Or ORA-39117 ORA-39779 (文件 ID 351519.1)
操作環境:expdp user 匯出,匯入同庫 impdp other user
expdp system/oracle DIRECTORY=dump DUMPFILE=expdp_u1.dmp LOGFILE=expdp_u1.log SCHEMAS=u1
impdp system/oracle DIRECTORY=dump DUMPFILE=expdp_u1.dmp LOGFILE=impdp_u1.log REMAP_SCHEMA=u1:u2
錯誤資訊:
CREATE TYPE "U2"."MY_COLTYPE" OID '0EA263913ADD0054E0530A7C54FB799B' AS OBJECT (nr NUMBER, txt VARCHAR2(10))
ORA-39083: Object type TYPE failed to create with error:
ORA-02304: invalid object identifier literal
解決方法:
impdp system/oracle DIRECTORY=dump DUMPFILE=expdp_u1.dmp LOGFILE=impdp_u1.log REMAP_SCHEMA=u1:u2 TRANSFORM=oid:n
注:you can use the Import DataPump parameter TRANSFORM which enables you to alter object creation DDL for the types. The value N (= No) for the transform name OID implies that a new OID is assigned.
問題原因:
The object types MY_COLTYPE and MY_TABTYPE already exist in the source schema U1. When the types are exported, we also export the object_identifier (OID) of the types. Within the current archictecture, the object-identifier needs to be unique in the database.
During import (into the same database), we try to create the same object types in the U2 schema. As the OID of the types already exists in the source schema U1, the types cannot be created in the target schema U2. Import will fail due to:
ORA-02304: invalid object identifier literal
本文源於:DataPump Import Of Object Types Fails With Errors ORA-39083 ORA-2304 Or ORA-39117 ORA-39779 (文件 ID 351519.1)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26442936/viewspace-1431202/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Import Datapump Job fails with ORA-39125ImportAI
- Speedup Datapump ImportImport
- DataPump Export/Import Of LOBs Are Not Executed in ParallelExportImportParallel
- TypeScript 之 Object TypesTypeScriptObject
- 使用datapump 匯出匯入同義詞(export and import synonym using datapump)ExportImport
- PostgreSQL DBA(80) - Object Identifier TypesSQLObjectIDE
- Run Out Of Space On UNDO Tablespace Using DataPump Import/ExportImportExport
- 【metalink】Export/Import DataPump Parameter TRACE (文件 ID 286496.1)ExportImport
- DataPump Export (EXPDP) Fails With Error LPX-216 Invalid CharacterExportAIError
- 外部表筆記-datapump筆記
- Subject: Bug 3827736 - LPX-225 during datapump import with statisticsImport
- RMAN 11g Import catalog fails RMAN-6429 (Doc ID 457392.1)ImportAI
- Oracle10g Export/Import DataPump Does Not Work with Tapes or UNIX Named Pipes [ID 276521.1]OracleExportImport
- (EXPDP) Fails With Errors ORA-39079 ORA-25306 On One Node In RAC EnvironmentAIError
- Object要點記錄Object
- 【DATAPUMP】使用DataPump遷移Oracle資料庫Oracle資料庫
- Database Startup Fails with ORA-01113, ORA-01110 errors (Doc ID 146039.1)DatabaseAIError
- EF Core – Owned Entity Types & Complex Types
- about datapump parallelParallel
- Object-C,遍歷目錄Object
- TypeScript @typesTypeScript
- stock Types
- #import vs @importImport
- datapump簡介(一)
- Oracle DataPump之二Oracle
- Oracle DataPump之一Oracle
- Oracle Datapump 學習Oracle
- Types of Locks (340)
- MySQL 8.0 Reference Manual(讀書筆記39節-- Data Types(1))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記40節-- Data Types(2))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記41節-- Data Types(3))MySql筆記
- 如何提高datapump操作效能
- ORACLE_DATAPUMP & External TableOracle
- EM 10g Grid Control Fails With 'libdb.so.2: cannot open shared object file:AIObject
- #import、#include、@import modules區別Import
- Metric Collection ErrorsError
- oracle之errorsOracleError
- oracle 之errorsOracleError