Re: vacuum won't fix tx wraparound problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gene Hart <genekhart(at)gmail(dot)com>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: vacuum won't fix tx wraparound problem
Date: 2010-06-27 18:12:54
Message-ID: 28643.1277662374@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gene Hart <genekhart(at)gmail(dot)com> writes:
> select * from pg_prepared_xacts;
> returns 0 rows.

Hm. You might also confirm that the directory $PGDATA/pg_twophase/ is
empty, but it really should be if there's nothing in that view.

I think you'll have to do some more sleuthing. Check the
pg_database.datfrozenxid value for the "maindb" database, then look in
pg_class for the table(s) with that same value for pg_class.relfrozenxid.
Vacuum these table(s) individually. Do their relfrozenxid values
change?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Konstantin Izmailov 2010-06-28 08:00:50 Re: PQprepare in PostgreSQL 7.4 (lack of SAVEPOINTs)
Previous Message Gene Hart 2010-06-27 16:45:44 Re: vacuum won't fix tx wraparound problem