Re: COPY threads

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: COPY threads
Date: 2018-10-10 17:14:47
Message-ID: 638D8006-CE07-4F23-B1AA-710A9A9A07A4@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Oct 10, 2018, at 10:50 AM, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> wrote:
>
> Rob Sargent wrote:
>> Can anyone here tell me whether or not the CopyManager facility in JDBC
>> via org.postgresql:postgresql:42.1.4 is internally multithreaded?
>> Running on CentOS 7 (all participants), java8, postgres 10.5
>
> It isn't, and there would not be much reason for it to be, as COPY
> in PostgreSQL cannot be parallelized.
Thank you for that confirmation. I had all cores firing on my copyManager box and it turned out it was really just looking really hard for more byte to free up. I was getting a lot more out of the database than I could chew. OOM ensued.

Cheers,
rjs

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-10-10 19:10:23 Re: RHEL 7 (systemd) reboot
Previous Message Laurenz Albe 2018-10-10 16:50:02 Re: COPY threads