vacuum verbose: show pages marked allvisible/frozen/hintbits

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: vacuum verbose: show pages marked allvisible/frozen/hintbits
Date: 2020-01-26 14:13:28
Message-ID: 20200126141328.GP13621@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm forking this thread since it's separate topic, and since keeping in a
single branch hasn't made maintaining the patches any easier.
https://www.postgresql.org/message-id/CAMkU%3D1xAyWnwnLGORBOD%3Dpyv%3DccEkDi%3DwKeyhwF%3DgtB7QxLBwQ%40mail.gmail.com
On Sun, Dec 29, 2019 at 01:15:24PM -0500, Jeff Janes wrote:
> Also, I'd appreciate a report on how many hint-bits were set, and how many
> pages were marked all-visible and/or frozen. When I do a manual vacuum, it
> is more often for those purposes than it is for removing removable rows
> (which autovac generally does a good enough job of).

The first patch seems simple enough but the 2nd could use critical review.

Attachment Content-Type Size
v1-0001-Report-number-of-pages-marked-allvisible-frozen.patch text/x-diff 4.3 KB
v1-0002-Report-number-of-hint-bits-written.patch text/x-diff 4.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2020-01-26 14:14:25 Re: explain HashAggregate to report bucket and memory stats
Previous Message Christoph Berg 2020-01-26 12:40:41 Re: Add %x to PROMPT1 and PROMPT2