Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAHgb-0002pN-7y for pgsql-general@arkaria.postgresql.org; Wed, 10 Oct 2018 16:50:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gAHgY-0004dS-13 for pgsql-general@arkaria.postgresql.org; Wed, 10 Oct 2018 16:50:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAHgX-0004dH-PK for pgsql-general@lists.postgresql.org; Wed, 10 Oct 2018 16:50:09 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gAHgV-0002EK-BV for pgsql-general@postgresql.org; Wed, 10 Oct 2018 16:50:09 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 0757E40612; Wed, 10 Oct 2018 18:50:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id 4VdEkTBRW6tc; Wed, 10 Oct 2018 18:50:04 +0200 (CEST) Message-ID: Subject: Re: COPY threads From: Laurenz Albe To: Rob Sargent , "pgsql-general@postgresql.org" Date: Wed, 10 Oct 2018 18:50:02 +0200 In-Reply-To: <065f5e56-5b25-0ce2-e20b-4305f71b2301@gmail.com> References: <065f5e56-5b25-0ce2-e20b-4305f71b2301@gmail.com> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com