Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uc1in-0087bu-Aw for pgpool-general@arkaria.postgresql.org; Wed, 16 Jul 2025 12:58:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uc1ik-00A7Cs-Is for pgpool-general@arkaria.postgresql.org; Wed, 16 Jul 2025 12:58:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uc1ik-00A7CM-D2 for pgpool-general@lists.postgresql.org; Wed, 16 Jul 2025 12:58:51 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uc1ij-007a4i-0d for pgpool-general@lists.postgresql.org; Wed, 16 Jul 2025 12:58:50 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3a54700a46eso4143815f8f.1 for ; Wed, 16 Jul 2025 05:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752670727; x=1753275527; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=bjWZq2uvS/XCQH22TVNLpP7k5zD5LD+37q6ZiPI8sZc=; b=ctLq+KwD9iqYILLxt8UGScy18pBq/Fiodnw5MbIGG2rPXXsEnmqgQ/U4wDPxJ7Go8v /3MN2H6lI26aV3eokIoND6s6UO/K+S1DYoZ0p9XWinobG31669GipoKI7duEvpNLjdLj JKPuoEEC/L+CXv2lI9zMRjNrG9UhBbBEZw76lVQwyCOGf+E98wMz33dKfZ3QVfXfJk/Q KyVCXUXRnLtYdqqaQw7pZEK38WDDutgsjXlJnrifelAZqePhlKjgsyrGFZ3hSx642fFb RHyIUZNBL3Xfu8PvhvX4AZ4E/NzXSA2A1Z4QDfUqiD4ef5Nzb0P8FAvjmraOf5N5g0jh N52Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752670727; x=1753275527; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bjWZq2uvS/XCQH22TVNLpP7k5zD5LD+37q6ZiPI8sZc=; b=g3Hv8U+UjIPr2kkaZYsIV/x9WScjJTdc8SlH4cwCcENcYTn6PPIEZGu4BV1rhXwxS2 DyGc1nuwir0uzXtJjKji9TnhjF1RzGDfJ22opeGfozkLNSErzU9bqTwX6ri2KbL+GaBP 9PPlHOTMzJ7/yCXyEwhFLf/TDafB16TdH3DhMCmIjan5CxYqi2tRFLss32mKx4Z95wUi QlIHWLrfMm81+vRFj+FDUZE+QSN8GhLz1Sv4YX3a+kApZPn2gT+QIiHI5SKYkHTc/jFy YVBPS+oXHyVOUhCP/yrD3qL4DSKA2tqfHvzdlxsL2ByML1v0dNV/6GfBx0n0SPLUe5Im jTLw== X-Gm-Message-State: AOJu0YxdH08bMCLl5F9E5aAbty/jNwqjfvObzsw/NdejOBPYlS/W8TDV +gp1pDKnGnvwGtatDyIFcw3soM+EKW8QnBSG4RygbpjVaSOmFpQu2btjD6DlhTy1UCD0GV9mfEH LTzWesNxqQSF8mm/jr3V8gm0GxEfBDTQVjI/iEBg= X-Gm-Gg: ASbGncsiafjl26ED1ntWdNcMGjcvFs3sT5BjWvPTPWu9FT/hlpu73JCdt0IH49sxONv q5VFqhLd/ZVIjk2dO3jXIkWl7tCySLsJs1EkWZCmrYLwD+B2ODOTV3/TEl+slqyyByPl+TWs727 HINXyKyciw7jmpnAdLIaFdfEcEF88BcL+sHgHhlkV+uo7SAPIvC8u9bS6iSP2clzSRvUGlEKQOQ /Hs X-Google-Smtp-Source: AGHT+IFEg7FbRo/KziO/SP5xhCfyplx6WguZJ01aDop2B02F7VH4ecRvAWNDiXFp/+SUc4I1j4RRicm63G2DAbBODLA= X-Received: by 2002:a05:6000:2a89:b0:3a5:2d42:aa23 with SMTP id ffacd0b85a97d-3b60dd55721mr2201862f8f.22.1752670727250; Wed, 16 Jul 2025 05:58:47 -0700 (PDT) MIME-Version: 1.0 References: <972d5b98-e59f-4655-b61b-3077226cc12b@cloud.gatewaynet.com> In-Reply-To: <972d5b98-e59f-4655-b61b-3077226cc12b@cloud.gatewaynet.com> From: TV Date: Wed, 16 Jul 2025 14:58:35 +0200 X-Gm-Features: Ac12FXxu8slicvPWSoadKIP0YuQJZesgL6GOs-gPhveGO2GogsZaJsGWFMQEppk Message-ID: Subject: Re: Poor load balancing performance in PGPool 4.6 on PG13, any config suggestions? To: pgpool-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000001b29bf063a0b74b4" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001b29bf063a0b74b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable backend_clustering_mode =3D 'streaming_replication' On Wed, Jul 16, 2025 at 2:32=E2=80=AFPM Achilleas Mantzios < a.mantzios@cloud.gatewaynet.com> wrote: > On 7/16/25 13:13, TV wrote: > > [snip] > > num_init_children =3D 3500 > max_pool =3D 1 > child_life_time =3D 0 > child_max_connections =3D 0 > connection_life_time =3D 500 > client_idle_limit =3D 600 > process_management_mode =3D dynamic > process_management_strategy =3D gentle > min_spare_children =3D 50 > max_spare_children =3D 100 > connection_cache =3D on > load_balance_mode =3D on > disable_load_balance_on_write =3D 'transaction' > statement_level_load_balance =3D on > > What's your backend_clustering_mode ? > > [snip] > > > --0000000000001b29bf063a0b74b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
backend_clustering_mode =3D 'streaming_replication'= ;


On Wed, Jul 16, 2025 at 2:32=E2=80=AFPM Achi= lleas Mantzios <a.man= tzios@cloud.gatewaynet.com> wrote:
=20 =20 =20

On 7/16/25 13:13, TV wrote:

=20
[snip]

num_init_children =3D 3500
max_pool =3D 1
child_life_time =3D 0
child_max_connections =3D 0
connection_life_time =3D 500
client_idle_limit =3D 600
process_management_mode =3D dynamic
process_management_strategy =3D gentle
min_spare_children =3D 50
max_spare_children =3D 100
connection_cache =3D on
load_balance_mode =3D on
disable_load_balance_on_write =3D 'transaction'
statement_level_load_balance =3D on

What's your backend_cluster<= span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">ing_mode = ?

[snip]
=C2=A0

--0000000000001b29bf063a0b74b4--