From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Jeremy Finzel <finzelj@gmail.com>
Cc: Rob Nikander <rob.nikander@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: reclaiming space from heavily used tables?
Date: Mon, 18 Dec 2017 16:51:23 -0300
Message-ID: <20171218195123.h7iuknsulj3m4vbs@alvherre.pgsql> (raw)
In-Reply-To: <CAMa1XUhmWHb3ZPxRQj_SiM7deSLYzHSvJxHPk6eZoo_5=oUQ1Q@mail.gmail.com>
Jeremy Finzel wrote:
> >
> > It's been around, but is it trusted? I for one do not trust it. See
> > for example
> > https://www.postgresql.org/message-id/CA+TgmoaWoU+BpBG4nwz1L
> > GkmdsbL6_Hm9r8jNqte-5VRDLsrkQ@mail.gmail.com
>
> Needs some discussion. Has anyone actually reported corruption related to
> this? I don't doubt the opinion, but I do wonder why I have never seen
> reports of corruption related to this when people have readily reported
> such things in years past about pg_repack.
Maybe the nature of the corruption caused is different. It took months
of running large databases on production for corruption to become
apparent from multixact bugs, for example. Or maybe because the
relfrozenxid is fixed by other activity in the system, any bugs are
masked -- but that you could get in trouble if autovacuum is disabled,
perhaps. Or maybe it's masked even in that case, since autovacuum
observes that the table has a very old frozenxid and runs a forced
vacuum on that table anyway.
> If it (apparently) works so well in practice for so many companies,
> but has this bug, why not leverage what they have done [...] ?
What have they done?
> [...] and fix its bugs when it serves such an important function? The
> extension serves a huge need on many fronts.
It's not PGDG's tool, so these are not "our" bugs to fix. Though it's
pretty clear that we need *something* to cover those needs ... but
nothing has been submitted to commitfests.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-general@postgresql.org
Cc: alvherre@alvh.no-ip.org, finzelj@gmail.com, rob.nikander@gmail.com
Subject: Re: reclaiming space from heavily used tables?
In-Reply-To: <20171218195123.h7iuknsulj3m4vbs@alvherre.pgsql>
References: <CAMa1XUhmWHb3ZPxRQj_SiM7deSLYzHSvJxHPk6eZoo_5=oUQ1Q@mail.gmail.com> <20171218195123.h7iuknsulj3m4vbs@alvherre.pgsql>
* 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