Re: Regarding fillfactor use case for only delete ops - Mailing list pgsql-general

From Durgamahesh Manne
Subject Re: Regarding fillfactor use case for only delete ops
Date
Msg-id CAJCZkoKiRAjeCZKdEtZq054kdk0RpGF50gqwh7msLdogo5JOAw@mail.gmail.com
Whole thread Raw
In response to Re: Regarding fillfactor use case for only delete ops  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: Regarding fillfactor use case for only delete ops
List pgsql-general


On Fri, Jun 6, 2025 at 7:29 PM Ron Johnson <ronljohnsonjr@gmail.com> wrote:
On Fri, Jun 6, 2025 at 8:57 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Fri, 2025-06-06 at 14:10 +0530, Durgamahesh Manne wrote:
> Can we generate a fill factor for tables that have delete ops ?
>
> Does the fill factor really work and help to minimize the bloat for tables that have delete ops?
>
> I have parent table with weekly partitions So for every week 50 to 60 gb of bloat generates and autovacuum params already in place for child tables 

Nothing can ever avoid bloat caused by DELETE, except partitioning in a
way that you can drop a partition rather than running DELETE.


Laurenz,

Isn't the fill factor aimed at reducing bloat during updates of HOT tables?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


Hi  

I believe that fill factor works exclusively for updates of HOT tables  but not for delete ops  

Regards,
Durga Mahesh 

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Low OIDs (< 16384) when creating databases in single user mode
Next
From: Durgamahesh Manne
Date:
Subject: Re: Regarding fillfactor use case for only delete ops