Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlhrC-0003x2-JK for pgsql-performance@arkaria.postgresql.org; Mon, 12 Oct 2015 18:29:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZlhrB-0004kO-SZ for pgsql-performance@arkaria.postgresql.org; Mon, 12 Oct 2015 18:29:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZlhpY-0002up-NP for pgsql-performance@postgresql.org; Mon, 12 Oct 2015 18:28:16 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZlhpW-0007Tl-1A for pgsql-performance@postgresql.org; Mon, 12 Oct 2015 18:28:15 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 86BC5860003; Mon, 12 Oct 2015 20:28:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p54895CFC.dip0.t-ipconnect.de [84.137.92.252]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 009C4860001; Mon, 12 Oct 2015 20:28:08 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 86BBD10317A; Mon, 12 Oct 2015 20:28:08 +0200 (CEST) Date: Mon, 12 Oct 2015 20:28:08 +0200 From: Andres Freund To: Shaun Thomas Cc: pgsql-performance@postgresql.org Subject: Re: Having some problems with concurrent COPY commands Message-ID: <20151012182808.GB10323@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Hi, On 2015-10-12 13:17:53 -0500, Shaun Thomas wrote: > It would appear I'm running into whatever issue the xloginsert_slots patch > tried to address, but not much discussion exists afterwards. That patch is merged, it's just that the number of slots is hardcoded. You can recompile postgres with different values by changing #define NUM_XLOGINSERT_LOCKS 8 in xlog.c to a different value. A restart is enough afterwards. > Is there any other way to > get normal parallel COPY performance, or is that just currently impossible? > > I also know 9.5 underwent a lot of locking improvements, so it might > not be relevant. I just haven't gotten a chance to repeat my tests > with 9.5 just yet. Hard to say anything substantive without further information. Any chance you could provide profiles of such a run? If yes, I can help you with instructions. I'm just to lazy to write them up if not. Greetings, Andres Freund -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance