Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luAec-0007aR-BH for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Jun 2021 09:19:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1luAea-0005fx-Us for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Jun 2021 09:19:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luAea-0005fp-ND for pgsql-hackers@lists.postgresql.org; Fri, 18 Jun 2021 09:19:08 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luAeV-0004vp-2z for pgsql-hackers@postgresql.org; Fri, 18 Jun 2021 09:19:08 +0000 Received: from hnk.local (p2388012-ipbf1027funabasi.chiba.ocn.ne.jp [118.6.6.12]) by oss.nttdata.com (Postfix) with ESMTPSA id 9188C6072F; Fri, 18 Jun 2021 18:18:59 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.2 at oss.nttdata.com Subject: Re: fdatasync performance problem with large number of DB files To: Justin Pryzby , Michael Paquier Cc: Thomas Munro , David Steele , Bruce Momjian , Paul Guo , Tom Lane , Michael Brown , pgsql-hackers@postgresql.org References: <7716fafe-fcab-3faf-c337-d1e8c6ae6191@pgmasters.net> <20210526001359.GE3676@telsasoft.com> <20210529192321.GM2082@telsasoft.com> <20210604143904.GQ14099@telsasoft.com> From: Fujii Masao Message-ID: <2589e842-41be-5d83-4616-216acf0a59da@oss.nttdata.com> Date: Fri, 18 Jun 2021 18:18:59 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210604143904.GQ14099@telsasoft.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021/06/04 23:39, Justin Pryzby wrote: > You said switching to SIGHUP "would have zero effect"; but, actually it allows > an admin who's DB took a long time in recovery/startup to change the parameter > without shutting down the service. This mitigates the downtime if it crashes > again. I think that's at least 50% of how this feature might end up being > used. Yes, it would have an effect when the server is automatically restarted after crash when restart_after_crash is enabled. At least for me +1 to your proposed change. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION