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 1i7BDQ-0006gq-Cx for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Sep 2019 04:23:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i7BCQ-0002UB-2u for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Sep 2019 04:22:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7BCP-0002U4-Ra for pgsql-bugs@lists.postgresql.org; Mon, 09 Sep 2019 04:22:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7BCN-0007CV-Fh for pgsql-bugs@lists.postgresql.org; Mon, 09 Sep 2019 04:22:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x894Mc6N002005; Mon, 9 Sep 2019 00:22:38 -0400 From: Tom Lane To: jo.raj.postgres.dba@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15995: VACUUM not working after setting/unsetting of archive_mode = on, wal_level = replica In-reply-to: <15995-fd9ae7b6ca561df6@postgresql.org> References: <15995-fd9ae7b6ca561df6@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 09 Sep 2019 02:12:22 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2003.1568002958.1@sss.pgh.pa.us> Date: Mon, 09 Sep 2019 00:22:38 -0400 Message-ID: <2004.1568002958@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > 9. VACUUM is not working, even after upgrades vacuum is not working. If I > unset archive_mode = on, wal_level = replica and leave to default, vacuum > not working. Following is the message I get, no dead rows removed, but lot > of delete/update has happeded to the table. There are basically two possibilities here: 1. You have an old open transaction somewhere. Possibly an uncommitted two-phase transaction. The pg_prepared_xacts view would help identify the latter. 2. You have a replication slot that's holding back global xmin. Look in pg_replication_slots. regards, tom lane