SV: Oracle to postgres migration via ora2pg (blob data)

From: Niels Jespersen <NJN(at)dst(dot)dk>
To: Daulat Ram <Daulat(dot)Ram(at)exponential(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: SV: Oracle to postgres migration via ora2pg (blob data)
Date: 2019-07-31 11:45:58
Message-ID: 3967181ED595B445B1E39718204FD4BD0122BA2638@SRVEXC5.dst.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

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(dot)Ram(at)exponential(dot)com>
Sendt: 31. juli 2019 13:32
Til: pgsql-general(at)lists(dot)postgresql(dot)org; pgsql-performance(at)lists(dot)postgresql(dot)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,

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Artur Zakirov 2019-07-31 12:57:34 Re: pgaudit.log_parameter
Previous Message Daulat Ram 2019-07-31 11:31:45 Oracle to postgres migration via ora2pg (blob data)

Browse pgsql-performance by date

  From Date Subject
Next Message Amol Tarte 2019-07-31 16:02:10 Re: Oracle to postgres migration via ora2pg (blob data)
Previous Message Daulat Ram 2019-07-31 11:31:45 Oracle to postgres migration via ora2pg (blob data)