Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sdXI3-00GU8I-MN for pgsql-admin@arkaria.postgresql.org; Mon, 12 Aug 2024 15:48:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sdXI1-00GWLK-Ul for pgsql-admin@arkaria.postgresql.org; Mon, 12 Aug 2024 15:48:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sdXI1-00GWLC-CH for pgsql-admin@lists.postgresql.org; Mon, 12 Aug 2024 15:48:57 +0000 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sdXHu-004NP4-Fr for pgsql-admin@lists.postgresql.org; Mon, 12 Aug 2024 15:48:55 +0000 Received: from phl-compute-03.internal (phl-compute-03.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id C78591151A2B; Mon, 12 Aug 2024 11:48:48 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 12 Aug 2024 11:48:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1723477728; x= 1723564128; bh=0Xy7Qtq2280dM2PfKk+dQWtv2dSIR/PeYYkcWQd+mbY=; b=j gp78a8km/FzeP4xjPD3zN44F/EEEVSJaBd/75uqvAtEzUyXHfW7Cx3FtIkGCidq4 LYlYfFC3MMSX612XxF8UR/55M30IeWb27bGbxShajJcon7WP/sfGXh2esrvabOCU zZ4NZoomqpFCshDaqEEUkDxz4bd7DOTm7r6G9NtPgsE76k6vptxYjXO/r94Qtukn rpt9VCtKeaeKSqU4FHOvIy2X3bMtPkU9XuJUP5/v+Rh4V8SWL3At25+E5DS+ldNe 0rlqFqyHSUi6zlVxs255eXzxY7taF1HXbAjCmBv5EovF/4gw0YhMnsi8ckC9fooY paMWHWKQ0Dr1zj/jN8Dyw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddttddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvve fukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghr rgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtth gvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeffgfdufffhudffffeu veenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhv hhdrnhhoqdhiphdrohhrghdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepshgrthhhihhshhhrvgguugihrdhpohhsthhgrhgvshhqlhesghhm rghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdgrughmihhnsehlihhsthhsrdhpoh hsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Aug 2024 11:48:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1723477724; bh=0/O/ptYTGl8/AzWs+8mjXe55TnrdswHXN1IohIHwfZ8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=qNqa+v/LXWKpFD+cg5mLpUdSTfwnT4fjLlsovNQUqj7KlOIvrrwLU2pRtscM/aAvi ZE1T2/MH7rCslFjxjdFPY7KfbXOAm1Q6cMcoUhL8u2Q3xXmYDu+WOgc7YeiKislmKQ 9o3ATLm09qQY2vhrXkZAdIEViTrHebC9C3ASs4L0u7mCkocEQljJ5DxKeKi6rhlT7d 0nI8inoAh++zi/O4eI1b0Ini9tDX7SM4ntEx6SX8EQICaPEhLSJL0fFBIRCA5EElF5 HVi2m5C5xWFSxs8V1IdOv5/kapr2lXFmhYb5YfezeiHsDXBrrYny6Pge0eVoxNrIPW pFPM+wuiVcRTQ== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 8011333E; Mon, 12 Aug 2024 11:48:44 -0400 (-04) Date: Mon, 12 Aug 2024 11:48:44 -0400 From: Alvaro Herrera To: Sathish Reddy Cc: pgsql-admin@lists.postgresql.org Subject: Re: Pg_repack Message-ID: <202408121548.x5qz5npcikiw@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 2024-Aug-12, Sathish Reddy wrote: > Hi > We have configure pg_repack on database.when we ran pg_repak it is using > temporary table on repack once repack done it is going to swap temporary > table to original .on these case it is genarate huse wal files and it > getting size increase be end . > We need help on these instead of using temporary table can we use unlog > table on reduce these wal case. I bet you'll find that pg_squeeze gives you better characteristics on those aspects. In any case, it's better if you can find a way to avoid running either of these tools in a regular manner, and instead treat them as if they were an emergency solution only, and rely on a better configured autovacuum to avoid having to schedule them regularly. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/