Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBywF-0006jk-Gi for pgsql-general@arkaria.postgresql.org; Mon, 15 Oct 2018 09:13:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gBywD-0005eW-Lo for pgsql-general@arkaria.postgresql.org; Mon, 15 Oct 2018 09:13:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBywD-0005eC-AC for pgsql-general@lists.postgresql.org; Mon, 15 Oct 2018 09:13:21 +0000 Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBywA-0002ZL-8H for pgsql-general@lists.postgresql.org; Mon, 15 Oct 2018 09:13:20 +0000 Received: from firost (unknown [92.88.248.23]) (Authenticated sender: ioguix) by smtp2-g21.free.fr (Postfix) with ESMTPSA id C5EC0200407; Mon, 15 Oct 2018 11:13:09 +0200 (CEST) Date: Mon, 15 Oct 2018 11:13:08 +0200 From: "Jehan-Guillaume (ioguix) de Rorthais" To: Laurenz Albe Cc: Raghavendra Rao J S V , pgsql-general@lists.postgresql.org Subject: Re: Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments = 128" postgresql.conf file. Message-ID: <20181015111308.7821dbf5@firost> In-Reply-To: <2e2ea4412f3067e69be85758f6f624be33fd1362.camel@cybertec.at> References: <2e2ea4412f3067e69be85758f6f624be33fd1362.camel@cybertec.at> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 15 Oct 2018 09:46:47 +0200 Laurenz Albe wrote: > Raghavendra Rao J S V wrote: > > Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments > > = 128" postgresql.conf file. If yes,what is the imapct? > > Yes. > - You will have fewer checkpoints requested by data modification activity. > - Crash recovery might take longer. And considering wal_keep_segments, there is no impact on perf/recovery. This mostly related to the standby replication lag allowed and some other solutions exists (slots, archiving).