Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz476-0007kK-W3 for pgsql-general@arkaria.postgresql.org; Wed, 27 Feb 2019 18:39:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gz473-0007tb-1z for pgsql-general@arkaria.postgresql.org; Wed, 27 Feb 2019 18:39:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz471-0007on-LK for pgsql-general@lists.postgresql.org; Wed, 27 Feb 2019 18:39:24 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz46x-00029h-BF for pgsql-general@postgresql.org; Wed, 27 Feb 2019 18:39:21 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 77CB222E52; Wed, 27 Feb 2019 13:39:18 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 27 Feb 2019 13:39:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= stepheneilert.com; h=date:from:to:message-id:in-reply-to :references:subject:mime-version:content-type; s=mesmtp; bh=ZKVN /7J1nVc64zr1vzKJFQ845z72nKXifpa/XzjU3uE=; b=pj6sEuRG4NSvo0RXRLmU HUPglid+KTZ4maE4hZ9K+Ew0fORRbrO3Ec2h0eErp+ko1TrGLAREh6zN++vuqKQS lJZ+OBwaEM4RFW5JWdprOUdsAWyhGwa/Z+4iEARU0TxRs+ftpD1vdlK5mHhYLKiE wNeMwWtXstfxFL/yrk27acc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ZKVN/7 J1nVc64zr1vzKJFQ845z72nKXifpa/XzjU3uE=; b=OLFAKtNW312T1NLzzqcv9w X8n9zInGzEGkojay048qtzCWvENmIE8logLTUaJuhPdInaZngWYDyvESnVp0j5MK 4DfgMbKdCADvoI0dvAlgo1Is00+0RvtQvVXeehdQJ7GURpS6N6KnDVtkdkiq2+Xr 8pbl4zA5Tt1zHIfigvjOKPNS1OPK2Uy/ZaGhxxfVNqCpdZdgOYoe8Iro9OO3IDaA Qyj+Ecb/pkMApFCIohiR5dMihEFxPJS60NJZMKs7SATMar4wBy6LzrFXUl8Xdijh b2cNjw9gS1f+WRsGpol/i2XUfIIL3325L5hHlZfXHIA+VTUH5OKcGocxPaSS4ELA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrvddugdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffkjghfufggtgesrgdtreertddtjeenucfhrhhomhepufhtvghphhgv nhcugfhilhgvrhhtuceotghonhhtrggtthesshhtvghphhgvnhgvihhlvghrthdrtghomh eqnecukfhppedutdegrdefiedrvdegkedrudefnecurfgrrhgrmhepmhgrihhlfhhrohhm pegtohhnthgrtghtsehsthgvphhhvghnvghilhgvrhhtrdgtohhmnecuvehluhhsthgvrh fuihiivgeptd X-ME-Proxy: Received: from [10.5.81.62] (ext-104-36-248-13.arubanetworks.com [104.36.248.13]) by mail.messagingengine.com (Postfix) with ESMTPA id 73AB210312; Wed, 27 Feb 2019 13:39:17 -0500 (EST) Date: Wed, 27 Feb 2019 10:39:10 -0800 From: Stephen Eilert To: pgsql-general , github kran Message-ID: <0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark> In-Reply-To: References: Subject: Re: cannot execute VACUUM during recovery X-Readdle-Message-ID: 0039a47f-562c-4d61-9096-8f7f7743bbd1@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5c76d953_3a95f874_156f5" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --5c76d953_3a95f874_156f5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Are you running Vacuum on the slave node=3F It has to run on the master. Thanks, =E2=80=93 Stephen On =46eb 27, 2019, 6:43 AM -0800, github kran , w= rote: > Hello Team, > > We are using a PostgreSQL 9.6 and seeing the below error while trying t= o 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=5Fname. > > ERROR:=C2=A0 cannot execute VACUUM during recovery > > Thanks > Kranthi --5c76d953_3a95f874_156f5 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Are you running = Vacuum on the slave node=3F It has to run on the master.

Thanks,

=E2=80=93 Stephen
On =46eb 27, 20= 19, 6:43 AM -0800, github kran <githubkran=40gmail.com>, wrote:
Hello Team,

We are using a PostgreSQL 9.6 and seeing the below error while tryin= g to run a VACUUM on one of our live tables running in Production. We wan= ted to clean up some DEAD tuples on the table.


Command: VACUUM (ANALYZE,VERBOSE) table=5Fnam= e.

ERROR:&=23160; cannot execute VACUUM during recovery=

Thanks
Kranthi
--5c76d953_3a95f874_156f5--