Skip site navigation (1) Skip section navigation (2)

Re: Please HELP - URGENT - transaction wraparound error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>,pgsql-general(at)postgresql(dot)org
Subject: Re: Please HELP - URGENT - transaction wraparound error
Date: 2005-10-30 16:34:47
Message-ID: 7690.1130690087@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
John Sidney-Woollett <johnsw(at)wardbrook(dot)com> writes:
> I can restore the file system backup of pgsql/data to another database 
> server and then get the info from pg_database. Or I can import a dump 
> file from 15 minutes before I re-inited the database...

Importing a dump will tell you nothing at all, as all the data will be
freshly loaded.

> What exactly am I looking for though?

SELECT datname, age(datfrozenxid) FROM pg_database;

where the second column approaches 2 billion.

Alternatively, wait a few weeks and note which entries in your live
database are increasing rather than staying near 1 billion.

			regards, tom lane

In response to

Responses

pgsql-general by date

Next:From: Nico GrubertDate: 2005-10-30 16:37:54
Subject: Re: [GENERAL] Sorting problems with SELECT * FROM table WHERE name LIKE 'Ö%'
Previous:From: Tom LaneDate: 2005-10-30 16:31:43
Subject: Re: Sorting problems with SELECT * FROM table WHERE name LIKE 'Ö%'

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group