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

https://forums.oracle.com/forums/thread.jspa?messageID=9810429

 

 

Error in impdp with dblink
Posted: 2011-7-6 上午3:39
 
Click to report abuse... Click to reply to this threadReply
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:
userid="SCAN@odtest"
network_link=ODLINK
LOGFILE=scan_imp.log
DIRECTORY=DPDIR
SCHEMAS="SCAN"
TABLE_EXISTS_ACTION=replace
EXCLUDE=INDEX_STATISTICS
EXCLUDE=TABLE_STATISTICS
CONTENT=ALL

but I get error.
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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值