Re: Tables not getting vacuumed in postgres - Mailing list pgsql-hackers

From Mark Dilger
Subject Re: Tables not getting vacuumed in postgres
Date
Msg-id C1D1789E-7586-4062-B119-ECE3C4C29D5B@enterprisedb.com
Whole thread Raw
In response to Re: Tables not getting vacuumed in postgres  ("Karthik Jagadish (kjagadis)" <kjagadis@cisco.com>)
List pgsql-hackers

> On Nov 8, 2022, at 5:21 AM, Karthik Jagadish (kjagadis) <kjagadis@cisco.com> wrote:
>
> I didn’t get your point dead tuples are visible to transaction means? Vacuuming job is to remove dead tuples right?

Please see https://www.2ndquadrant.com/en/blog/when-autovacuum-does-not-vacuum/ for more information about your
question. Specifically, you might look at the third section down, "Long transactions", which starts with "So, if the
tableis vacuumed regularly, surely it can’t accumulate a lot of dead rows, right?"  You might benefit from reading the
entirearticle rather than skipping down to that section. 

I hope it helps....


—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company






pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum
Next
From: David Christensen
Date:
Subject: Re: [PATCHES] Post-special page storage TDE support