I was trying some PoC today with an impdp job involving sample schemas that I had in my lab database. The objective I was testing was to check on LONG column support for impdp via a network link (more of network link import in this link).
I am aware LONG column is not supported in Oracle version 12.1 if we use network_link and is already documented in this official link but the same is mentioned as supported and as a new feature in the Oracle 12.2 official link here.
Well, testing makes us to be confident on what we are going to present to our clients, isn't it? :)
So in the due process of testing this, I just stumbled up on this error below.
DB env: Oracle 12.2
Issue:
* Output truncated
[oracle@linux75-2 ~]$ impdp system REMAP_SCHEMA=pm:nwimp DIRECTORY=data_pump_dir NETWORK_LINK=nw_import_demo remap_tablespace=users:tt1 schemas=pm Import: Release 12.2.0.1.0 - Production on Sun Jun 20 20:30:26 2021 Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved. Password: Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production Starting "SYSTEM"."SYS_IMPORT_SCHEMA_01": system/******** REMAP_SCHEMA=pm:nwimp DIRECTORY=data_pump_dir NETWORK_LINK=nw_import_demo remap_tablespace=users:tt1 schemas=pm Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 18.81 MB Processing object type SCHEMA_EXPORT/USER ORA-31684: Object type USER:"NWIMP" already exists Processing object type SCHEMA_EXPORT/SYSTEM_GRANT Processing object type SCHEMA_EXPORT/ROLE_GRANT Processing object type SCHEMA_EXPORT/DEFAULT_ROLE Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC ORA-39083: Object type TYPE:"NWIMP"."ADHEADER_TYP" failed to create with error: ORA-02304: invalid object identifier literal Failing sql is: CREATE EDITIONABLE TYPE "NWIMP"."ADHEADER_TYP" OID '82A4AF6A4CCE656DE034080020E0EE3D' AS OBJECT ( header_name VARCHAR2(256) , creation_date DATE , header_text VARCHAR2(1024) , logo BLOB ); ORA-39083: Object type TYPE:"NWIMP"."TEXTDOC_TYP" failed to create with error: ORA-02304: invalid object identifier literal ... ... ...
[oracle@linux75-2 ~]$ impdp system transform=oid:n REMAP_SCHEMA=pm:nwimp DIRECTORY=data_pump_dir NETWORK_LINK=nw_import_demo remap_tablespace=example:tt1 schemas=pm Import: Release 12.2.0.1.0 - Production on Sun Jun 20 20:37:45 2021 Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved. Password: Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production Starting "SYSTEM"."SYS_IMPORT_SCHEMA_01": system/******** transform=oid:n REMAP_SCHEMA=pm:nwimp DIRECTORY=data_pump_dir NETWORK_LINK=nw_import_demo remap_tablespace=example:tt1 schemas=pm Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 18.81 MB Processing object type SCHEMA_EXPORT/USER ORA-31684: Object type USER:"NWIMP" already exists Processing object type SCHEMA_EXPORT/SYSTEM_GRANT Processing object type SCHEMA_EXPORT/ROLE_GRANT Processing object type SCHEMA_EXPORT/DEFAULT_ROLE Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC ORA-31684: Object type TYPE:"NWIMP"."ADHEADER_TYP" already exists ORA-31684: Object type TYPE:"NWIMP"."TEXTDOC_TYP" already exists ORA-31684: Object type TYPE:"NWIMP"."TEXTDOC_TAB" already exists Processing object type SCHEMA_EXPORT/TABLE/TABLE . . imported "NWIMP"."PRINT_MEDIA" 4 rows . . imported "NWIMP"."TEXTDOCS_NESTEDTAB" 12 rows Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX ... ... ...
No comments:
Post a Comment