Reporting xmin from VACUUMs

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Reporting xmin from VACUUMs
Date: 2017-02-10 08:30:18
Message-ID: CANP8+jLWqG_hfu_Xb-QyPvaCCYFUWZVuGA4DZpJR-PpG307ULg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

We've added xmin info to pg_stat_activity and pg_stat_replication, but
VACUUM doesn't yet report which xmin value it used when it ran.

Small patch to add this info to VACUUM output.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
vacuum_report_oldestxmin.v1.patch application/octet-stream 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2017-02-10 08:38:26 log_autovacuum_min_duration doesn't log VACUUMs
Previous Message Amit Langote 2017-02-10 08:18:25 Re: Documentation improvements for partitioning