From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Shukla, Pranjal <pshukla@akamai.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PG12: Any drawback of increasing wal_keep_segments
Date: Thu, 24 Mar 2022 11:25:42 +0100
Message-ID: <202203241025.qygop5cr3qw7@alvherre.pgsql> (raw)
In-Reply-To: <ADB6E72A-8C34-47AB-99FD-EB839AE6B863@akamai.com>
On 2022-Mar-22, Shukla, Pranjal wrote:
> Team,
> Are there any disadvantages of increasing the “wal_keep_segments” to a
> higher number say, 500? Will it have any impact on performance of
> streaming replication, on primary or secondary servers?
No. It just means WAL will occupy more disk space. I've seen people go
even as high as 5000 with no issues.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@alvh.no-ip.org, pshukla@akamai.com
Subject: Re: PG12: Any drawback of increasing wal_keep_segments
In-Reply-To: <202203241025.qygop5cr3qw7@alvherre.pgsql>
References: <ADB6E72A-8C34-47AB-99FD-EB839AE6B863@akamai.com> <202203241025.qygop5cr3qw7@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox