简体   繁体   中英

Oracle: how to disable table compression on dmp file import

I have dmp file that was created by EXP utility. The source database has table compression enabled. How can I disable compression while importing dmp file. The destination database does not have this future enabled.

I can not find any switches on IMP utility for this purpose.

imp u/p@sid file=test.dmp LOG=test.log  IGNORE=Y TABLES=(A_TABLE) FROMUSER=USR1 TOUSER=USR2

here is the error that I'm getting:

ORA-00439: feature not enabled: Table compression

Both databases are Oracle v 11g.

I think you'll have to precreate your tables by using dbms_metadata to extract the definitions from the source database.

You could also use the imp indexfile option to create an editable script in which COMPRESS could be globally replaced with NOCOMPRESS.

Datapump might have an option for doing this ... in 11g I'd be using datapump instead of imp/exp anyway.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM