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 1uNgMR-006v2k-My for pgsql-general@arkaria.postgresql.org; Fri, 06 Jun 2025 23:20:31 +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 1uNgMP-002OQU-Lc for pgsql-general@arkaria.postgresql.org; Fri, 06 Jun 2025 23:20:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uNgMP-002OQM-Ak for pgsql-general@lists.postgresql.org; Fri, 06 Jun 2025 23:20:29 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uNgMO-000cjt-0i for pgsql-general@postgresql.org; Fri, 06 Jun 2025 23:20:29 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 2484C1140083; Fri, 6 Jun 2025 19:20:25 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Fri, 06 Jun 2025 19:20:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1749252024; x=1749338424; bh=deMqAKa/b3W2Zg3rlfsPM7bZHqnPCi86+qHHY4elZBU=; b= F7GfjN5JP2GYT7qrDpLaNaOD+3ronZNs0MlIa4N2g1x8QHAXrnc8d2hsF3sn8a8f FrRzYt2Zk9Psdmm0MfL2Yw+J9w8h5Hx4d2glBXad1wzEEoZ66XLnh4tLxeotwV23 atov0ABB9RhWZBQkSr2/iFgkRO314wc098yCQOFsFVXWdAcwGGKM0Kx1e0zFAxzQ j0u+wjfZpMOqp8I1F1zjAYNImi8fYs8dkbdOzyW4yH8010h8T4Bq2Mv7ZaYk9vZF Wc4i2PpRC1yAWKjNVTfLgKdRVRjW1m+wSTciXaKodcBODr1ddryvtD5wDb9iinz5 Oc3SBvT0NzWUGQZ7NVtHVQ== 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 :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1749252024; x= 1749338424; bh=deMqAKa/b3W2Zg3rlfsPM7bZHqnPCi86+qHHY4elZBU=; b=K SLYFbnr/oTLoZKnk0TtLjJvxvbVjrG+gs9xqP/YcQkVZYDj9RqJrGFFxY9kEbap0 mXUQPftUbfj/Iol25mBXy4EI4Hq5e+iPin6qTnBeSIpWSrHAwYQhUHifhQgc/HE1 ADgeptQ1CkV/IzEeuZDmifBh9y7Jq2SEq9ZIuHGXQNdeeGCWh7CF0v9oQERY+x5e AC7LePkvTKggF4YwF9z43NvfJCSNqJKogMV2JO1MfdsgrmWolO2h6+fjH9DVXfnO Mb4CLoO2v/tlIGZQbxu+UVKEd80zmuAlUZT6/OxSK2iLR4PdCKhrcVHUWRgCASdJ zdoZ0PLIjrWrAr41qeJ5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugdehjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgv rhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrg htthgvrhhnpeefgeefieeutdfggfetgefgheekjeehteeileeigfetieekjedvieeviefg heevtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthho peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmrghhvghshhhpohhsthhgrh gvshelsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprhhonhhljhhohhhnshhonhhjrhes ghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsth hgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Jun 2025 19:20:24 -0400 (EDT) Message-ID: <68dbc93c-2a1a-409f-9aed-d7d3e316e415@aklaver.com> Date: Fri, 6 Jun 2025 16:20:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Regarding fillfactor use case for only delete ops To: Durgamahesh Manne , Ron Johnson Cc: pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/6/25 16:09, Durgamahesh Manne wrote: > > Hi > > I have partitioned table with retention policy of 90 days and will be > auto purged partitions beyond 90 days and  for last 90 days tables > inserts and deletes usually run through apl call > Here due to deletes ops on last 90 days weekly partitions bloat > generates 50gb to 60gb for on weekly partition even we set autovacuum > params already in place for at child tables level 1) How are you measuring bloat? 2) Are inserts being done on the partitions all the way out to the 90 days? > > Regards, > Durga Mahesh -- Adrian Klaver adrian.klaver@aklaver.com