Re: increase insert into local table from remote oracle table preformance

From: Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: increase insert into local table from remote oracle table preformance
Date: 2018-08-14 05:21:23
Message-ID: 2e6e6255-d33f-dfc5-0470-b3adff075525@catalyst.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

Hi, we probably need more inforation to offer anything useful here, e.g:

- The network bandwidth between the 2 hosts

- the number of partitions on the Postgres end (i.e how many days in
your case)

- single or batched INSERT

The lack of indexes is probably not going to effect INSERT performance
that much, but the number of partition tables has a huge impact, so we
need to know this stuff!

Cheers

Mark

On 14/08/18 08:34, Mariel Cherkassky wrote:
> Hi,
> I'm using postgresql v10.4. I have a local partitioned table (by range
> - data, every day has its own table). I'm using the oracle_fdw
> extension to bring data from the oracle partitioned table into my
> local postgresql (insert into local select * from remote_oracle).
> Currently, I dont have any indexes on the postgresql`s table. It takes
> me 10 hours to copy 200G over the network and it is very slow.
> Any recommandations what can I change or improve ?
>
>
> Thanks , Mariel.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message pavan95 2018-08-14 05:29:40 Re: logical Replication
Previous Message Rajni Baliyan 2018-08-14 03:24:11 Re: Logical replication monitoring

Browse pgsql-performance by date

  From Date Subject
Next Message Laurenz Albe 2018-08-14 07:12:40 Re: increase insert into local table from remote oracle table preformance
Previous Message legrand legrand 2018-08-13 21:03:58 Re: Fwd: increase insert into local table from remote oracle table preformance