Re: Corrupt index stopping autovacuum system wide - Mailing list pgsql-general

From Peter Geoghegan
Subject Re: Corrupt index stopping autovacuum system wide
Date
Msg-id CAH2-Wz=ggW6uaepx-9riyedENaf-2LRxs89bmU1fd6i0D8F4jQ@mail.gmail.com
Whole thread Raw
In response to Corrupt index stopping autovacuum system wide  (Aaron Pelz <aaronepelz@gmail.com>)
Responses Re: Corrupt index stopping autovacuum system wide
Re: Corrupt index stopping autovacuum system wide
Re: Corrupt index stopping autovacuum system wide
List pgsql-general
On Wed, Jul 17, 2019 at 8:54 AM Aaron Pelz <aaronepelz@gmail.com> wrote:
> To me it looks like a *single* corrupt index held up autovacuums across our entire server, even other in other
databaseson the same server. Am I interpreting this correctly?
 

Yes -- that is correct.

What PostgreSQL version are you on? Was this an INCLUDE index on PostgreSQL 11?

> Would love guidance on diagnosing this type of thing and strategies for preventing it.

It's possible that amcheck would have given you an accurate diagnosis
of the problem -- especially if you used bt_index_parent_check():

https://www.postgresql.org/docs/current/amcheck.html
-- 
Peter Geoghegan



pgsql-general by date:

Previous
From: Aaron Pelz
Date:
Subject: Corrupt index stopping autovacuum system wide
Next
From: Aaron Pelz
Date:
Subject: Re: Corrupt index stopping autovacuum system wide