From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Fujii Masao <masao.fujii@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL
Date: Wed, 07 Sep 2016 09:58:16 -0400
Message-ID: <1670.1473256696@sss.pgh.pa.us> (raw)
In-Reply-To: <CANP8+jJREXgg=AR+MutOsrptPZz+v5FaTHNZQNWwVjty-Fo9hQ@mail.gmail.com>
References: <E1bhHZ0-0003Yx-Us@gemulon.postgresql.org>
<CAHGQGwEiHmNeBUtGizLj3edV7=1dcLYj6cjr2PW+r5PwCxxXdQ@mail.gmail.com>
<CANP8+jJREXgg=AR+MutOsrptPZz+v5FaTHNZQNWwVjty-Fo9hQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Simon Riggs <simon@2ndquadrant.com> writes:
> On 7 September 2016 at 13:47, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Tue, Sep 6, 2016 at 11:41 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
>>> lazy_truncate_heap() was waiting for
>>> VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL, but in microseconds
>>> not milliseconds as originally intended.
>> Don't we need to back-patch this?
> If we do then a database-wide VACUUM on a busy database will take
> substantially longer than it does now.
On the other hand, it's also more likely to successfully perform desired
truncations.
> That may not be perceived as a "fix" by everybody, so we should not do
> it without an explicit agreement by many.
Agreed, but I vote with Fujii-san for back-patching.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: tgl@sss.pgh.pa.us, simon@2ndquadrant.com, masao.fujii@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL
In-Reply-To: <1670.1473256696@sss.pgh.pa.us>
References: <E1bhHZ0-0003Yx-Us@gemulon.postgresql.org> <CAHGQGwEiHmNeBUtGizLj3edV7=1dcLYj6cjr2PW+r5PwCxxXdQ@mail.gmail.com> <CANP8+jJREXgg=AR+MutOsrptPZz+v5FaTHNZQNWwVjty-Fo9hQ@mail.gmail.com> <1670.1473256696@sss.pgh.pa.us>
* 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