pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Eilert <contact@stepheneilert.com>
To: pgsql-general <pgsql-general@postgresql.org>
To: github kran <githubkran@gmail.com>
Subject: Re: cannot execute VACUUM during recovery
Date: Wed, 27 Feb 2019 10:39:10 -0800
Message-ID: <0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark> (raw)
In-Reply-To: <CACaZr5RhAfqcR06dNhu=g1HWSMAmYeb358YXBveKCf-uJUbxaw@mail.gmail.com>
References: <CACaZr5RhAfqcR06dNhu=g1HWSMAmYeb358YXBveKCf-uJUbxaw@mail.gmail.com>

Are you running Vacuum on the slave node? It has to run on the master.

Thanks,

– Stephen
On Feb 27, 2019, 6:43 AM -0800, github kran <githubkran@gmail.com>, wrote:
> Hello Team,
>
> We are using a PostgreSQL 9.6 and seeing the below error while trying to run a VACUUM on one of our live tables running in Production. We wanted to clean up some DEAD tuples on the table.
>
>
> Command: VACUUM (ANALYZE,VERBOSE) table_name.
>
> ERROR:  cannot execute VACUUM during recovery
>
> Thanks
> Kranthi

view thread (4+ messages)  latest in thread

Message-ID: <0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark>
Permalink:  ../0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark/
Also on:    postgresql.org/message-id/0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark

 · 

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-general@postgresql.org
  Cc: contact@stepheneilert.com, githubkran@gmail.com
  Subject: Re: cannot execute VACUUM during recovery
  In-Reply-To: <0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark>
  References: <CACaZr5RhAfqcR06dNhu=g1HWSMAmYeb358YXBveKCf-uJUbxaw@mail.gmail.com> <0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark>

* 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