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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- DataPump Export (EXPDP) Fails With Error LPX-216 Invalid CharacterExportAIError
- TypeScript 之 Object TypesTypeScriptObject
- PostgreSQL DBA(80) - Object Identifier TypesSQLObjectIDE
- DtypeWarning: Columns () have mixed types. Specify dtype option on import or set low_memory=False.ImportFalse
- Datapump:EXCLUDE/INCLUDE
- Object要點記錄Object
- EF Core – Owned Entity Types & Complex Types
- TypeScript @typesTypeScript
- MIT6.0001 筆記,LECTURE 8:Object Oriented Programming (class,object,method)MIT筆記Object
- Trusted Types APIRustAPI
- MySQL 8.0 Reference Manual(讀書筆記41節-- Data Types(3))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記40節-- Data Types(2))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記39節-- Data Types(1))MySql筆記
- Working with Errors in Go 1.13ErrorGo
- Go Errors 詳解GoError
- slave-skip-errorsError
- Object-hashCode演算法筆記Object演算法筆記
- TypeScript 之 Conditional TypesTypeScript
- 譯|There Are No Reference Types in GoGo
- 【譯】 Types are moving to the right
- nvm command errors All In OneError
- React 18 errors All In OneReactError
- Canvas errors & CORS All In OneCanvasErrorCORS
- ORACLE for aix 11.2.0.1 DATAPUMP expdp之BUG 9470768OracleAI
- datapump 匯出匯入ORA-07445
- DataTransfer.types 屬性
- TypeScript 之 Indexed Access TypesTypeScriptIndex
- Nginx配置max_fails fail_timeoutNginxAI
- require()、import、import()有哪些區別?UIImport
- Python import相關內容區別介紹( import *** as 、from***import )PythonImport
- 資料泵匯出匯入物化檢視(ORA-39083)
- [20220128]Check the datapump file header information in Oracle.txtHeaderORMOracle
- “setting.xml” has syntax errorsXMLError
- OGG Connection test fails with: weblogic.transaction.internal.TimedOutException:AIWebException
- export/importExportImport
- SCSS @importCSSImport
- CSS @importCSSImport
- Task03 : Data Types and Operators
- python3 筆記17.呼叫模組from...import...Python筆記Import