Re: Autovacuum Hung Due to Bufferpin

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fred Habash <fmhabash(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Autovacuum Hung Due to Bufferpin
Date: 2023-01-11 21:07:00
Message-ID: 668742.1673471220@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Fred Habash <fmhabash(at)gmail(dot)com> writes:
> According to pgstattuple, dead_tuple_count = 0. If this is the case, then
> what other explanations do we have?

Could be that old tuple(s) now require freezing.

> I mean, how can I find out what blocker
> session is holding the bufferpin to terminate it?

I don't think there's any ready way to discover that from SQL level.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2023-01-12 05:25:55 Re: Changing displayed time zone in RAISE NOTICE output?
Previous Message Adrian Klaver 2023-01-11 21:06:36 Re: Changing displayed time zone in RAISE NOTICE output?