Re: Disable parallel query by default - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: Disable parallel query by default
Date
Msg-id 202505141551.ktrlduh6mvog@alvherre.pgsql
Whole thread Raw
In response to Re: Disable parallel query by default  ("Scott Mead" <scott@meads.us>)
List pgsql-hackers
On 2025-May-13, Scott Mead wrote:

> If you have a connection pool from your application and you issue 60
> queries per minute, each that can go from 1 second to 200 ms, That
> means that you are making 120 connections per minute back to the DB.
> 
> As we know, connection establishment is brutal.... 

You're assuming that starting a parallel worker has equivalent cost to
starting a new connection, but I'm not sure that's true.  Did you
measure that?

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Cómo ponemos nuestros dedos en la arcilla del otro. Eso es la amistad; jugar
al alfarero y ver qué formas se pueden sacar del otro" (C. Halloway en
La Feria de las Tinieblas, R. Bradbury)



pgsql-hackers by date:

Previous
From: "Jafri, Nazneen"
Date:
Subject: PostgreSQL 18 Beta 1 io_max_concurrency
Next
From: Nathan Bossart
Date:
Subject: Re: Statistics Import and Export