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 1l1win-00022b-Lj for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Jan 2021 19:31:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l1wil-0002os-Dw for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Jan 2021 19:31:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1wil-0002oT-6z for pgsql-hackers@lists.postgresql.org; Tue, 19 Jan 2021 19:31:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1wie-00055b-Tl for pgsql-hackers@postgresql.org; Tue, 19 Jan 2021 19:31:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 10JJUkon519045; Tue, 19 Jan 2021 14:30:46 -0500 From: Tom Lane To: Stephen Frost cc: Peter Eisentraut , Alvaro Herrera , Laurenz Albe , "Bossart, Nathan" , Michael Paquier , Bernd Helmle , "tsunakawa.takay@fujitsu.com" , "pgsql-hackers@postgresql.org" Subject: Re: Change default of checkpoint_completion_target In-reply-to: <20210119191450.GO27507@tamriel.snowman.net> References: <20201210171602.GP16415@tamriel.snowman.net> <20201210172126.GA25979@alvherre.pgsql> <20201210172255.GQ16415@tamriel.snowman.net> <20210113221038.GG27507@tamriel.snowman.net> <20210119191450.GO27507@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Tue, 19 Jan 2021 14:14:50 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <519043.1611084646.1@sss.pgh.pa.us> Date: Tue, 19 Jan 2021 14:30:46 -0500 Message-ID: <519044.1611084646@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephen Frost writes: > Any further comments or thoughts on this one? This: + total time between checkpoints. The default is 0.9, which spreads the + checkpoint across the entire checkpoint timeout period of time, is confusing because 0.9 is obviously not 1.0; people will wonder whether the scale is something strange or the text is just wrong. They will also wonder why not use 1.0 instead. So perhaps more like ... The default is 0.9, which spreads the checkpoint across almost all the available interval, providing fairly consistent I/O load while also leaving some slop for checkpoint completion overhead. The other chunk of text seems accurate, but there's no reason to let this one be misleading. regards, tom lane