From: Tom Lane <tgl@sss.pgh.pa.us>
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
Date: Mon, 09 Sep 2019 00:22:38 -0400
Message-ID: <2004.1568002958@sss.pgh.pa.us> (raw)
In-Reply-To: <15995-fd9ae7b6ca561df6@postgresql.org>
References: <15995-fd9ae7b6ca561df6@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> 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
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, jo.raj.postgres.dba@gmail.com
Subject: Re: BUG #15995: VACUUM not working after setting/unsetting of archive_mode = on, wal_level = replica
In-Reply-To: <2004.1568002958@sss.pgh.pa.us>
References: <15995-fd9ae7b6ca561df6@postgresql.org> <2004.1568002958@sss.pgh.pa.us>
* 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