pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add --min-xid-age and --min-mxid-age options to vacuumdb
Date: Thu, 31 Jan 2019 04:18:12 +0000
Message-ID: <E1gp3no-0001xk-Sc@gemulon.postgresql.org> (raw)

Add --min-xid-age and --min-mxid-age options to vacuumdb

These two new options can be used to improve the selectivity of
relations to vacuum or analyze even further depending on the age of
respectively their transaction ID or multixact ID, so as it is possible
to prioritize tables to prevent wraparound of one or the other.
Combined with --table, it is possible to target a subset of tables to
choose as potential processing targets.

Author: Nathan Bossart
Reviewed-by: Michael Paquier, Masahiko Sawada
Discussion: https://postgr.es/m/FFE5373C-E26A-495B-B5C8-911EC4A41C5E@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/00d1e88d36687ceae1be2317fac90e967941c085

Modified Files
--------------
doc/src/sgml/ref/vacuumdb.sgml    | 54 +++++++++++++++++++++++++++
src/bin/scripts/t/100_vacuumdb.pl | 19 +++++++++-
src/bin/scripts/vacuumdb.c        | 77 ++++++++++++++++++++++++++++++++++++++-
3 files changed, 148 insertions(+), 2 deletions(-)



Message-ID: <E1gp3no-0001xk-Sc@gemulon.postgresql.org>
Permalink:  ../E1gp3no-0001xk-Sc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gp3no-0001xk-Sc@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Add --min-xid-age and --min-mxid-age options to vacuumdb
  In-Reply-To: <E1gp3no-0001xk-Sc@gemulon.postgresql.org>
  References: <E1gp3no-0001xk-Sc@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox