Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hrOJv-0001gy-8H for pgsql-general@arkaria.postgresql.org; Sat, 27 Jul 2019 15:09:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hrOJs-0004RJ-9s for pgsql-general@arkaria.postgresql.org; Sat, 27 Jul 2019 15:09:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hrOJr-0004RC-TF for pgsql-general@lists.postgresql.org; Sat, 27 Jul 2019 15:09:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hrOJp-0004eX-BX for pgsql-general@postgresql.org; Sat, 27 Jul 2019 15:09:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x6RF96Yj019797; Sat, 27 Jul 2019 11:09:06 -0400 From: Tom Lane To: Artemiy Ryabinkov cc: pgsql-general@postgresql.org Subject: Re: Why does backend send buffer size hardcoded at 8KB? In-reply-to: <0cdc5485-cb3c-5e16-4a46-e3b2f7a41322@ya.ru> References: <0cdc5485-cb3c-5e16-4a46-e3b2f7a41322@ya.ru> Comments: In-reply-to Artemiy Ryabinkov message dated "Sat, 27 Jul 2019 14:43:54 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19795.1564240146.1@sss.pgh.pa.us> Date: Sat, 27 Jul 2019 11:09:06 -0400 Message-ID: <19796.1564240146@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Artemiy Ryabinkov writes: > Does it make sense to make this parameter configurable? Not without some proof that it makes a performance difference on common setups (which you've not provided). Even with some proof, I'm not sure I'd bother with exposing a user-tunable knob, as opposed to just making the buffer bigger. We have far too many GUCs already. regards, tom lane