Re: Oldest xmin is far in the past - Mailing list pgsql-admin

From Jerry Sievers
Subject Re: Oldest xmin is far in the past
Date
Msg-id 87k3yogb0m.fsf@comcast.net
Whole thread Raw
In response to Oldest xmin is far in the past  (Christian Rosnes <christian.rosnes@gmail.com>)
Responses Re: Oldest xmin is far in the past  (Christian Rosnes <christian.rosnes@gmail.com>)
List pgsql-admin
Christian Rosnes <christian.rosnes@gmail.com> writes:

> Hi,
>
> Coming back from vacation, I find a PostgreSQL database cluster (Pg version: 9.0.4)
> with 5 databases, which for the past 5 days have logged these messages:
>
> ? WARNING:? oldest xmin is far in the past
> ? HINT:? Close open transactions soon to avoid wraparound problems.
>
> The cluster has been running continously for over 9 months with autovacuum enabled.

<snip>>

> I cannot find any 'idle in transaction' connected, and I can see one 'idle' connection
> (but not 'idle in transaction') which is almost 24 hours old, the rest is from early this morning.
>
See if there is a prepared transaction still open.  Query pg_prepared_xacts.

HTH

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 732.216.7255

pgsql-admin by date:

Previous
From: Christian Rosnes
Date:
Subject: Oldest xmin is far in the past
Next
From: Christian Rosnes
Date:
Subject: Re: Oldest xmin is far in the past