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 1l7Kk7-0004w2-Nm for pgsql-admin@arkaria.postgresql.org; Wed, 03 Feb 2021 16:10:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l7Kk6-0002QY-L0 for pgsql-admin@arkaria.postgresql.org; Wed, 03 Feb 2021 16:10:58 +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 1l7Kk6-0002QR-E9 for pgsql-admin@lists.postgresql.org; Wed, 03 Feb 2021 16:10:58 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7Kk4-0005X0-9c for pgsql-admin@lists.postgresql.org; Wed, 03 Feb 2021 16:10:58 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 463D85C026F; Wed, 3 Feb 2021 11:10:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 03 Feb 2021 11:10:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=q04OlRcSuRWExMNMtMYPyCKpkPoxQKlX0SSD/sQz26A=; b=GMR+cC7S KwUsE+dM9VTGEr3i0KLI/jNQMJik/mNQpkAET/Pmk0oN+f1qVrlFBH4gaqIE37Ny EweWSZZlxDFaYGE95JhZfRxIzpiEUh4pVSMWtwPeFFZM42HVX1G6y8I2vytZyAP5 cFegboHgiN/HdZeI/EIKWpRZWuemjOT21DpE1jfY5N+rM2e8PvZv+guL5bDSBnrC i/dbdDZWcWTNc1kGm7zqABLvpBDcIUQreX9EJXGviwDv6uKcnETSim1wXdta8pZU GDdhkY12Okv8tW0UiBY+BSEbCYCDQQ7LL6DfmWSy8f5PeoeiVzSLZ9a6+9HT+WnB u+srvjjWxi+wvw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgedvgdekfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkgggtugfgjggfsehtkeertddtredunecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeeufffhjeeiueeuffegvddukeegledtveeivdeiueefieei vefgteehueefteehvdenucfkphepudeltddrleehrdduledrudejjeenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghl vhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.177]) by mail.messagingengine.com (Postfix) with ESMTPA id 62ED1108005B; Wed, 3 Feb 2021 11:10:52 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 9CBD62A0E0B; Wed, 3 Feb 2021 13:10:49 -0300 (-03) Date: Wed, 3 Feb 2021 13:10:49 -0300 From: Alvaro Herrera To: Yambu Cc: Alex Balashov , Pgsql-admin Subject: Re: pg_wal keeps growing Message-ID: <20210203161049.GA2457@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2021-Feb-03, Yambu wrote: > There were some unused replication slots. Can i now delete the old files in > pg_wal, or they will clear on their own? Never delete anything from pg_wal. Let the system handle that. They should start to clear in a checkpoint or two. (You may want to execute a manual checkpoint to speed up the process.) -- Álvaro Herrera Valdivia, Chile