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 1nhZIn-0005F6-4M for pgsql-general@arkaria.postgresql.org; Thu, 21 Apr 2022 16:05:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nhZIm-0001Y8-3n for pgsql-general@arkaria.postgresql.org; Thu, 21 Apr 2022 16:05:04 +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 1nhZIk-0001V9-8O for pgsql-general@lists.postgresql.org; Thu, 21 Apr 2022 16:05:03 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhZIg-0005Ci-MQ for pgsql-general@postgresql.org; Thu, 21 Apr 2022 16:05:01 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 489F45C01B7; Thu, 21 Apr 2022 12:04:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 21 Apr 2022 12:04:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1650557097; x= 1650643497; bh=aUy7wJEyFNsIiQKa67tKfLWf4evxSBnX09/80WCIUIM=; b=P liPHUwEQ/3d+jzwySLqY4ECvQzb5Z1+5kC8NN6GBXb2DpKTZoy8Eozj/NbS1kCQO Z2TAfGAaCTNlh+vTdkNz5aWEIABZP074LAGvUABRrg/a1snDqV5OMBiPMtukVocY Y3n4s1WRrWWvyvFR90ymWkD+fyvx7Zw12HKai3LB94FfAYiLLTicWc5R8CrXe8gQ qwpK0CSQWGFBSyGUWtgFxF0CbQVpTa+C4xJfNHSnJbWiXxBm4nZJCKvc1gc0jXIO Zx+ol7//83ubXaDCGS48s06aoJhQ80tVYg2kxnfH2xKpChFNMju66KRFQnXkOqpw Gpi2TixOT0/p0rTOG8Uyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1650557097; x=1650643497; bh=aUy7wJEyFNsIiQKa67tKfLWf4evx SBnX09/80WCIUIM=; b=bFJz9kYlOk19IPNqZAGT9c6ZZMhmPBPIbJUOk8WmxrTX sah5hd8Qvdg26uqQER7iWBXRgQrYMXdWYIO3BB8O5395KayS5qOcC+D0BHY8CjtQ BrBoUK3/gVOLiEnF+sSsuVBw948VBJaN6hL+dxXsRQcUUzPMP/s4yndjAppKIc9w bDP8el7G3xriqadcupLqjEnknfTg+z17oBBfA7s4rNqRsUZQte8B08ZGLsUQdmEJ aQpzW+ezs41YczQz/jdf15Nz21R3ITppI0pNqBZqB2YzxUHJgeljY1X3z8KI5FcV C1vj5UHLD/zQCcPH++OGrK54Xy7QxKwTCDh9vKdfxg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtddvgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepvedvkeeihfduhffhtdekleegffduiefgteejgeffgffh teefleeludfgleelgeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 21 Apr 2022 12:04:56 -0400 (EDT) Message-ID: <87593cae-6123-05dc-344a-23e3ffca7a4e@aklaver.com> Date: Thu, 21 Apr 2022 09:04:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: Huge archive log generate in Postgresql-13 Content-Language: en-US To: Ram Pratap Maurya , "pgsql-general@postgresql.org" References: <5e94410e-ae0e-db88-24cc-58805a9f73d0@aklaver.com> <691f97fa-df1b-be3f-76fe-31a9390ba0b3@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/19/22 21:31, Ram Pratap Maurya wrote: > Dear Adrian, > > We are using binary replication and par day *pg_log_archive* total size > is increase after upgrade for PG11 to PG13. So what is pruning the WAL's in pg_log_archive? Or to put it another way what is the purpose of pg_log_archive and how is it managed? > > Regards, > > Ram Pratap. > -- Adrian Klaver adrian.klaver@aklaver.com