IMPDP ORA-14460: only one COMPRESS or NOCOMPRESS clause may be specified

来源:互联网 发布:php高并发抢购详解 编辑:程序博客网 时间:2024/05/18 15:26
www.dbas-oracle.com

IMPDP ORA-14460: only one COMPRESS or NOCOMPRESS clause may be specified


Issue:

ORA-14460: only one COMPRESS or NOCOMPRESS clause may be specified

Detail:

On importing schema i got following message:

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning option
Starting "SCAN"."SYS_IMPORT_SCHEMA_01":  SCAN/********@ora parfile=scan.par
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 0 KB
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE:"SCAN"."TABLE1" failed to create with error:
ORA-14460: only one COMPRESS or NOCOMPRESS clause may be specified
Failing sql is:
CREATE TABLE "ora_user"."table1" ("ID" NUMBER(10,0) NOT NULL ENABLE, "IMAGE" BLOB, "TYPE" VARCHAR2(10 BYTE), "SCAN_DATE" TIMESTAMP (6) DEFAULT sysdate NOT NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255  STORAGE( BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "SCAN"  LOB ("IMAGE") STORE AS BASICFILE (ENABLE S
. . imported "SCAN"."OBJECT"                                  4 rows
...

Here i am restoring Oracle 11.2.0.2 schema dump at Oracle 11.2.0.1 database.

Solution:

Use impdp with transform=segment_attributes:n cluse.

eg.

$ impdp systems/sys transform=segment_attributes:n

Some other parameter like remap_tablespace may not work in this senario.
        You might also like:   
  • Impdp over network using Network_link
  • How to Stop EXPDP or IMPDP Job
  • How to Take schema backup and Restore using Expdp and Impdp
原创粉丝点击