confusion about this commit "Revert "Skip redundant anti-wraparound vacuums""

From: jiye <jiye_sw(at)126(dot)com>
To: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: confusion about this commit "Revert "Skip redundant anti-wraparound vacuums""
Date: 2023-06-05 03:30:48
Message-ID: 458b591b.1f82.188899b7db9.Coremail.jiye_sw@126.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi,

in our test enviroment, if one database's have major update operations, autovacuum does not work and cause major performance degradation.
if found this issue may be resolved by revert this Skip redundant anti-wraparound vacuums · postgres/postgres(at)2aa6e33 (github.com) commit.

after fetch some disccusion about this revert, i have some question as follow:
1. i understand that anti-wraparound and no-aggressive autovacuum will be skipped for shared catalog tables, but why this can trigger autovacuum does not work for others tables ?
2. "this could cause autovacuum to lock down", this lock down implict that autovacuum can make a dead lock problem ?
3. how to reproduce this lock down or autovacuum invalid issue, must be cluster enviroment ?

so is there any body know these issuse or commits can give me some suggestion about my confusion.

| |
jiye
|
|
jiye_sw(at)126(dot)com
|

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-06-05 03:37:03 Re: confusion about this commit "Revert "Skip redundant anti-wraparound vacuums""
Previous Message Richard Guo 2023-06-05 03:09:12 Re: postgres_fdw: wrong results with self join + enable_nestloop off