Re: Disable parallel query by default

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: Disable parallel query by default
Дата
Msg-id 202505141551.ktrlduh6mvog@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Disable parallel query by default  ("Scott Mead" <scott@meads.us>)
Список 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 по дате отправления: