From: | Greg Sabino Mullane <htamfids(at)gmail(dot)com> |
---|---|
To: | Scott Mead <scott(at)meads(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Disable parallel query by default |
Date: | 2025-05-13 21:07:58 |
Message-ID: | CAKAnmmJsskEWZofj07Qk5XFSj+F_2xB7N00dSvFeMYQk14Qm3Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, May 13, 2025 at 4:37 PM Scott Mead <scott(at)meads(dot)us> wrote:
> I'll open by proposing that we prevent the planner from automatically
> selecting parallel plans by default
That seems a pretty heavy hammer, when we have things like
parallel_setup_cost that should be tweaked first.
The recommendation that I give to users is pretty straightforward: "Disable
> automatic parallel query, enable it for queries where you find substantial
> savings and can control the rate of execution." I always tell users that
> if they're using parallel query for anything that should execute in less
> than 5 minutes, they're probably pushing on the wrong tuning strategy as
> the load induced by the parallel query infrastructure is likely going to
> negate the savings that they're getting.
>
Five minutes?! That's not been my experience. Not claiming parallelism is
perfect yet, but there are plenty of parallel performance savings under the
five minute mark.
Cheers,
Greg
--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support
From | Date | Subject | |
---|---|---|---|
Next Message | Matheus Alcantara | 2025-05-13 21:25:40 | Re: Batch TIDs lookup in ambulkdelete |
Previous Message | Lukas Fittl | 2025-05-13 21:05:04 | Re: Disable parallel query by default |