expdp no compression with compress=true

This is a result of silly mistake where legacy exp syntax is used with expdp. The issue here is when expdp with executed with exp parameters it runs with expdp conversion where applicable or ignore the legacy syntax.

In this particular scenario expdp was called with indexes=n compress=y parameter for table export. Now the expdp has converted indexes=n to exclude=index but has ignored compress=y, most probably since expdp compression has three options (none, meta_data, all). This is recorded in expdp log as below.

Legacy Mode Active due to the following parameters:
Legacy Mode Parameter: "compress=TRUE" Location: Command Line, ignored.
Legacy Mode Parameter: "indexes=FALSE" Location: Command Line, Replaced with: "exclude=index"
Legacy Mode has set reuse_dumpfiles=true parameter.
Starting "DBA00000"."SYS_EXPORT_TABLE_01":

Although this situation is due to a syntax error, it is not clear at a first glance since we are under the impression that we have enabled compression. 

Comments

Popular posts from this blog

ORA-16433: The database or pluggable database must be opened in read/write

Oracle Multitenant - Create new service for PDB using DBMS_SERVICE

Wait for unread message on broadcast channel - Blocking Sessions