Hi all,
I have small problem. I am trying importing schema uing a network link.
I create dblink on target database and start import with this parameters:
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/********@odtest 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"."SCANIMAGE" failed to create with error:
ORA-14460: only one COMPRESS or NOCOMPRESS clause may be specified
Failing sql is:
CREATE TABLE "SCAN"."SCANIMAGE" ("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
...
User SCAN have grants to create table. Import stopped only on this table(partitioned).
I am having the same problem. It is happening because the export (data pump in my case) was done on an 11.2.0.2 whilst the import is on an 11.2.0.1 database. It happens only on partitioned tables. The only solution I found till now is to upgrade the destination database to 11.2.0.2. I tried with the version parameter during the exp but it did not help.
I've seen this error as well and was able to work around it by running the datapump import with: transform=segment_attributes:n
This causes impdp to NOT include the COMPRESS/NOCOMPRESS setting. However, you lose a lot of other settings as well. You will lose the LOGGING clause, the PCTFREE and PCTUSED settings, INITTRANS, MAXTRANS, the whole storage clause, and perhaps worst of all the TABLESPACE clause.