pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: walsender & parallelism
Date: Thu, 1 Jun 2017 22:17:57 -0400
Message-ID: <48aed7ec-ae32-6ef2-102d-eea8545bda77@2ndquadrant.com> (raw)
In-Reply-To: <20170601040613.j3ww7s5aqhowiqcj@alap3.anarazel.de>
References: <20170423235941.qosiuoyqprq4nu7v@alap3.anarazel.de>
	<20170424000452.3iab4qpc3mtb2v6v@alap3.anarazel.de>
	<a8b44e9f-6631-3f2c-377b-0f5671784baf@2ndquadrant.com>
	<13973428-ca0b-b329-7f32-f15150e10334@2ndquadrant.com>
	<20170424232559.j5zuna3rpzksj26l@alap3.anarazel.de>
	<81eaca60-3f7b-6a21-5531-fd51ffbf3f63@2ndquadrant.com>
	<5fe9977b-1961-d663-004f-d138a74860ed@2ndquadrant.com>
	<0AD1D877-EFA4-4B11-A074-6B83D90402EA@anarazel.de>
	<e9621798-2d3b-6342-06df-6149e7297039@2ndquadrant.com>
	<b0cae230-066c-d5ee-b2d7-29ba44c142bb@2ndquadrant.com>
	<20170601040613.j3ww7s5aqhowiqcj@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 6/1/17 00:06, Andres Freund wrote:
> On 2017-05-31 23:51:08 -0400, Peter Eisentraut wrote:
>> I think the easiest and safest thing to do now is to just prevent
>> parallel plans in the walsender.  See attached patch.  This prevents the
>> hang in the select_parallel tests run under your new test setup.
> I'm not quite sure I can buy this.  The lack of wired up signals has
> more problems than just hurting parallelism.

Which problems are those?  I can see from the code what they might be,
but which ones actually happen in practice?  And are there any
regressions from 9.6?

If someone wants to work all this out, that would be great.  But I'm
here mainly to fix the one reported problem.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (41+ messages)  latest in thread

Message-ID: <48aed7ec-ae32-6ef2-102d-eea8545bda77@2ndquadrant.com>
Permalink:  ../48aed7ec-ae32-6ef2-102d-eea8545bda77@2ndquadrant.com/
Also on:    postgresql.org/message-id/48aed7ec-ae32-6ef2-102d-eea8545bda77@2ndquadrant.com

 · 

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-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, andres@anarazel.de, petr.jelinek@2ndquadrant.com
  Subject: Re: walsender & parallelism
  In-Reply-To: <48aed7ec-ae32-6ef2-102d-eea8545bda77@2ndquadrant.com>
  References: <20170423235941.qosiuoyqprq4nu7v@alap3.anarazel.de> <20170424000452.3iab4qpc3mtb2v6v@alap3.anarazel.de> <a8b44e9f-6631-3f2c-377b-0f5671784baf@2ndquadrant.com> <13973428-ca0b-b329-7f32-f15150e10334@2ndquadrant.com> <20170424232559.j5zuna3rpzksj26l@alap3.anarazel.de> <81eaca60-3f7b-6a21-5531-fd51ffbf3f63@2ndquadrant.com> <5fe9977b-1961-d663-004f-d138a74860ed@2ndquadrant.com> <0AD1D877-EFA4-4B11-A074-6B83D90402EA@anarazel.de> <e9621798-2d3b-6342-06df-6149e7297039@2ndquadrant.com> <b0cae230-066c-d5ee-b2d7-29ba44c142bb@2ndquadrant.com> <20170601040613.j3ww7s5aqhowiqcj@alap3.anarazel.de> <48aed7ec-ae32-6ef2-102d-eea8545bda77@2ndquadrant.com>

* 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