From: Arnaud L. <arnaud.listes@codata.eu>
To: Paul Ramsey <pramsey@cleverelephant.ca>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
Date: Tue, 3 Sep 2019 17:04:50 +0200
Message-ID: <3ba3bd1d-161a-3ef1-f04f-03a9664e7b9c@codata.eu> (raw)
In-Reply-To: <DEDF678D-3412-4550-9DFB-C1B393FCE54B@cleverelephant.ca>
References: <872bffe7-82d0-86db-e3d6-2e20b1a72c4b@codata.eu>
<23865.1567518191@sss.pgh.pa.us>
<938dfead-0605-8f91-8f21-8871f44bd6ff@codata.eu>
<DEDF678D-3412-4550-9DFB-C1B393FCE54B@cleverelephant.ca>
Le 03/09/2019 à 16:39, Paul Ramsey a écrit :
>> On Sep 3, 2019, at 7:06 AM, Arnaud L. <arnaud.listes@codata.eu> wrote:
>> I've setup parallel_tuple_cost to 1.0 parallel_setup_cost to 5000.0 for the time being which solves this specific problem. These value don't look very sensible though, they are very high compared to the default ones.
>
> You can also leave that setting unchanged and just change the behaviour on your one table:
>
> ALTER TABLE nodes SET ( parallel_workers = 0);
Nice, this will fix this precise query and leave parallelism in place
for the other ones. Thanks !
--
Arnaud
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: arnaud.listes@codata.eu, pramsey@cleverelephant.ca
Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
In-Reply-To: <3ba3bd1d-161a-3ef1-f04f-03a9664e7b9c@codata.eu>
References: <872bffe7-82d0-86db-e3d6-2e20b1a72c4b@codata.eu> <23865.1567518191@sss.pgh.pa.us> <938dfead-0605-8f91-8f21-8871f44bd6ff@codata.eu> <DEDF678D-3412-4550-9DFB-C1B393FCE54B@cleverelephant.ca> <3ba3bd1d-161a-3ef1-f04f-03a9664e7b9c@codata.eu>
* 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