Re: Proposed patch: Smooth replication during VACUUM FULL - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: Proposed patch: Smooth replication during VACUUM FULL
Date
Msg-id BANLkTimyte0OexNbMdRPnKFBRDhZKyByEg@mail.gmail.com
Whole thread Raw
In response to Proposed patch: Smooth replication during VACUUM FULL  (Gabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>)
Responses Re: Proposed patch: Smooth replication during VACUUM FULL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Apr 30, 2011 at 1:19 PM, Gabriele Bartolini
<gabriele.bartolini@2ndquadrant.it> wrote:
> Hi guys,
>
> I have noticed that during VACUUM FULL on reasonably big tables, replication
> lag climbs. In order to smooth down the replication lag, I propose the
> attached patch which enables vacuum delay for VACUUM FULL.
>

AFAICS, the problem is that those operations involve the rebuild of
tables, so we can't simply stop in the middle and wait because we will
need to hold a strong lock more time... also the patch seems to be
only doing something for CLUSTER and not for VACUUM FULL.
or am i missing something?

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte y capacitación de PostgreSQL


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Large Objects versus transactional behavior
Next
From: Joshua Berkus
Date:
Subject: Re: branching for 9.2devel