dbTalk Databases Forums  

Imports / Compression

comp.databases.oracle.server comp.databases.oracle.server


Discuss Imports / Compression in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ExecMan
 
Posts: n/a

Default Imports / Compression - 09-20-2011 , 10:23 AM






Hi,

We are exporting from 10g and importing to 11g. We encountered this
error:

IMP-00003: ORACLE error 439 encountered
ORA-00439: feature not enabled: Basic Compression

So ok, maybe compression is no longer free? But, how can I uncompress
the tables and export them? I mean, if say for example, my database
has 5000 compressed tables and each contain 1 million or more
rows........does Oracle provide a way to export & uncompress?

Reply With Quote
  #2  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Imports / Compression - 09-20-2011 , 10:37 AM






On Tue, 20 Sep 2011 08:23:54 -0700, ExecMan wrote:

Quote:
Hi,

We are exporting from 10g and importing to 11g. We encountered this
error:

IMP-00003: ORACLE error 439 encountered ORA-00439: feature not enabled:
Basic Compression

So ok, maybe compression is no longer free? But, how can I uncompress
the tables and export them? I mean, if say for example, my database has
5000 compressed tables and each contain 1 million or more
rows........does Oracle provide a way to export & uncompress?
Is the Oracle 11g database in question enterprise edition or some other
type of install? Compression is only available in the enterprise edition.
You can do export/import over the DB link and in that case you don't need
compression.



--
http://mgogala.byethost5.com

Reply With Quote
  #3  
Old   
ExecMan
 
Posts: n/a

Default Re: Imports / Compression - 09-20-2011 , 11:03 AM



On Sep 20, 10:37*am, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote:
Quote:
On Tue, 20 Sep 2011 08:23:54 -0700, ExecMan wrote:
Hi,

We are exporting from 10g and importing to 11g. *We encountered this
error:

IMP-00003: ORACLE error 439 encountered ORA-00439: feature not enabled:
Basic Compression

So ok, maybe compression is no longer free? *But, how can I uncompress
the tables and export them? *I mean, if say for example, my database has
5000 compressed tables and each contain 1 million or more
rows........does Oracle provide a way to export & uncompress?

Is the Oracle 11g database in question enterprise edition or some other
type of install? Compression is only available in the enterprise edition.
You can do export/import over the DB link and in that case you don't need
compression.

--http://mgogala.byethost5.com

Sorry, it is SE (or maybe SE1). But if we cannot use compression, is
there a way to uncompress during the export? Or, will we need to
create new tables, uncompressed, then export. A real pain!

Reply With Quote
  #4  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Imports / Compression - 09-20-2011 , 11:11 AM



On Tue, 20 Sep 2011 09:03:20 -0700, ExecMan wrote:


Quote:
Sorry, it is SE (or maybe SE1). But if we cannot use compression, is
there a way to uncompress during the export? Or, will we need to create
new tables, uncompressed, then export. A real pain!
The problem is in creating tables with the compressed attribute. Try this
in your destination database:

SQL> create table t1(c1 varchar2(20),c2 number(10,0)) compress;

Table created.

If that succeeds, and I don't think it will, the problem is soluble by
using the DB link for export/import. If not, you will have to create all
compressed tables without the "COMPRESS" option before the import and
import with TABLE_EXISTS_ACTION=APPEND



--
http://mgogala.byethost5.com

Reply With Quote
  #5  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Imports / Compression - 09-22-2011 , 08:38 AM



On Sep 20, 12:11*pm, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote:
Quote:
On Tue, 20 Sep 2011 09:03:20 -0700, ExecMan wrote:
Sorry, it is SE (or maybe SE1). *But if we cannot use compression, is
there a way to uncompress during the export? *Or, will we need to create
new tables, uncompressed, then export. * A real pain!

The problem is in creating tables with the compressed attribute. Try this
in your destination database:

SQL> create table t1(c1 varchar2(20),c2 number(10,0)) compress;

Table created.

If that succeeds, and I don't think it will, the problem is soluble by
using the DB link for export/import. If not, you will have to create all
compressed tables without the "COMPRESS" option before the import and
import with TABLE_EXISTS_ACTION=APPEND

--http://mgogala.byethost5.com
You could potentially use dbms_metadata to generate all the create
table statements and just edit the result to remove the compress
statement then create the tables manually in the target database
followed by trying an impor into the existing table.

HTH -- Mark D Powell --

Reply With Quote
  #6  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Imports / Compression - 09-22-2011 , 10:42 AM



On Thu, 22 Sep 2011 06:38:18 -0700, Mark D Powell wrote:

Quote:
On Sep 20, 12:11Â*pm, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote:
On Tue, 20 Sep 2011 09:03:20 -0700, ExecMan wrote:
Sorry, it is SE (or maybe SE1). Â*But if we cannot use compression, is
there a way to uncompress during the export? Â*Or, will we need to
create new tables, uncompressed, then export. Â* A real pain!

The problem is in creating tables with the compressed attribute. Try
this in your destination database:

SQL> create table t1(c1 varchar2(20),c2 number(10,0)) compress;

Table created.

If that succeeds, and I don't think it will, the problem is soluble by
using the DB link for export/import. If not, you will have to create
all compressed tables without the "COMPRESS" option before the import
and import with TABLE_EXISTS_ACTION=APPEND

--http://mgogala.byethost5.com

You could potentially use dbms_metadata to generate all the create table
statements and just edit the result to remove the compress statement
then create the tables manually in the target database followed by
trying an impor into the existing table.

HTH -- Mark D Powell --
The data pump utilities are missing INDEXFILE option from the old export/
import. In the absence of such option for expdp, one can also use the
normal exp, which still exists in 11.2.0.2, and the DDL Wizard to extract
the table data quickly. The DDL Wizard is available here:
http://www.ddlwizard.com
It also works on Linux, with Wine.




--
http://mgogala.byethost5.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.