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 1nXKew-0005SQ-JW for pgsql-general@arkaria.postgresql.org; Thu, 24 Mar 2022 10:25:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nXKev-0006Fz-El for pgsql-general@arkaria.postgresql.org; Thu, 24 Mar 2022 10:25:37 +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 1nXKev-0006Fq-3s for pgsql-general@lists.postgresql.org; Thu, 24 Mar 2022 10:25:37 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXKeo-0002rL-Ax for pgsql-general@lists.postgresql.org; Thu, 24 Mar 2022 10:25:36 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 302905C021D; Thu, 24 Mar 2022 06:25:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 24 Mar 2022 06:25:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=Tr3NMXWJgL2dWIhnp98lgSb++rV7ap1GZrh+sn4h158=; b=NE5Qo9bo sf4N7puHlF3O94cMuWJurYxgdkFbIGwQrVWloDLl+mssAg2YIRpEjtTM3TgJV4rS R/EYo5cGoFgkoKhebN7QJERTUsoT4akp4zHb5JEMyELxzwiqkB7v0rs6nSB3MiVK x8naTiBXyzKnwntWpVkrkaVCIwxdzVrSQKoDzDhIGvIy4p7ZTs7qo4PTFJH29OYZ nK8saEaz6si+5deOeEvcZH9kn7/11Tb2d5twjfRCKfwQLgtyX94/JyiRD6HRkLww U4reBG5oj18hY/elWPznGRgaRxSrP9L3sMyLcpiHUpSgKgC6jb8rcg9Jg9pa+aFi Kloi+ORg9EEZWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudegledguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Mar 2022 06:25:28 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 9E87F2A08E0; Thu, 24 Mar 2022 07:25:42 -0300 (-03) Date: Thu, 24 Mar 2022 11:25:42 +0100 From: Alvaro Herrera To: "Shukla, Pranjal" Cc: "pgsql-general@lists.postgresql.org" Subject: Re: PG12: Any drawback of increasing wal_keep_segments Message-ID: <202203241025.qygop5cr3qw7@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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/