pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: COPY threads
Date: Thu, 11 Oct 2018 22:20:58 +0200
Message-ID: <d2e2ddc0-61b2-b021-59a2-214f59569586@gmx.net> (raw)
In-Reply-To: <065f5e56-5b25-0ce2-e20b-4305f71b2301@gmail.com>
References: <065f5e56-5b25-0ce2-e20b-4305f71b2301@gmail.com>

Rob Sargent schrieb am 10.10.2018 um 00:45:> 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

An alternative to creating your own multi-threaded importer, might be to use pgLoader which supports that out of the box:

https://pgloader.readthedocs.io/en/latest/pgloader.html#a-note-about-parallelism

I have never used it though, but heard good things about it.




view thread (16+ messages)  latest in thread

Message-ID: <d2e2ddc0-61b2-b021-59a2-214f59569586@gmx.net>
Permalink:  ../d2e2ddc0-61b2-b021-59a2-214f59569586@gmx.net/
Also on:    postgresql.org/message-id/d2e2ddc0-61b2-b021-59a2-214f59569586@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: COPY threads
  In-Reply-To: <d2e2ddc0-61b2-b021-59a2-214f59569586@gmx.net>
  References: <065f5e56-5b25-0ce2-e20b-4305f71b2301@gmail.com> <d2e2ddc0-61b2-b021-59a2-214f59569586@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox