ITPub博客

首页 > 数据库 > Oracle > IMPDP ORA-14460: only one COMPRESS or NOCOMPRESS clause may be specified

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

Oracle 作者:perfychi 时间:2014-05-06 15:56:48 0 删除 编辑

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.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27042095/viewspace-1155182/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-06-06

  • 博文量
    484
  • 访问量
    2975093