From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Rodrigo Barboza <rodrigombufrj@gmail.com>
To: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: auto vaccum is dying
Date: Thu, 2 Oct 2014 09:53:03 +0300
Message-ID: <542CF64F.6000905@vmware.com> (raw)
In-Reply-To: <CANs8QJY8gc_A8gSF_nbUgd5Qeg+ARtiYKdB-Pkmay6JUzdmFTQ@mail.gmail.com>
References: <CANs8QJY8gc_A8gSF_nbUgd5Qeg+ARtiYKdB-Pkmay6JUzdmFTQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 10/02/2014 07:43 AM, Rodrigo Barboza wrote:
> Hello, I have a table that receives lots of updates and inserts.
> Auto vaccum is always being cancelled on that table.
> One day the database went on standby and I had to act manually to recover.
>
> What should I do to avoid auto vaccum cancel?
Cancellation happens when you run a command that requires an a stronger
on the table, like ALTER or TRUNCATE. Plain UPDATEs or INSERTS will not
cause cancellations. There must be something else going on, causing the
cancellations.
- Heikki
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: hlinnakangas@vmware.com, rodrigombufrj@gmail.com
Subject: Re: auto vaccum is dying
In-Reply-To: <542CF64F.6000905@vmware.com>
* 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