SV: Oracle to postgres migration via ora2pg (blob data) - Mailing list pgsql-general

From Niels Jespersen
Subject SV: Oracle to postgres migration via ora2pg (blob data)
Date
Msg-id 3967181ED595B445B1E39718204FD4BD0122BA2638@SRVEXC5.dst.local
Whole thread Raw
In response to Oracle to postgres migration via ora2pg (blob data)  (Daulat Ram <Daulat.Ram@exponential.com>)
Responses Re: Oracle to postgres migration via ora2pg (blob data)
Re: Oracle to postgres migration via ora2pg (blob data)
List pgsql-general

I would look at the source table in Oracle first. It looks a lot like audit data. Perhaps all content is not needed in Postgres. If it is, then the table and lobs may benefit from being reorganised in oracle.

 

Alter table CLIENT_DB_AUDIT_LOG move;

Alter table CLIENT_DB_AUDIT_LOG  move lob (SYS_LOB0000095961C00008$$);

-- Three more of these.

 

The syntax is from my the back of my head. You may need to look the details up.

 

Niels

 

 

Fra: Daulat Ram <Daulat.Ram@exponential.com>
Sendt: 31. juli 2019 13:32
Til: pgsql-general@lists.postgresql.org; pgsql-performance@lists.postgresql.org
Emne: Oracle to postgres migration via ora2pg (blob data)

 

Hello team,

 

We have to migrate a schema from oracle to postgres but there is one table that is having following large lob segments.  This table is taking time to export. What parameters we have to set in ora2pg.conf to speed up the data export by ora2pg.

 

Table:    CLIENT_DB_AUDIT_LOG

 

LOBSEGMENT           SYS_LOB0000095961C00008$$          80.26

LOBSEGMENT           SYS_LOB0000095961C00007$$          79.96

LOBSEGMENT           SYS_LOB0000094338C00008$$           8.84

LOBSEGMENT           SYS_LOB0000084338C00007$$           8.71

LOBSEGMENT           SYS_LOB0000085961C00009$$           5.32

 

VM Details are:

 

RAM  8GB

VCPUs 2 VCPU

Disk 40GB

 

Thanks,

 

pgsql-general by date:

Previous
From: Daulat Ram
Date:
Subject: Oracle to postgres migration via ora2pg (blob data)
Next
From: Artur Zakirov
Date:
Subject: Re: pgaudit.log_parameter