Re: BDR, near xid wraparound, a lot of files in pg_subtrans directory

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: milist ujang <ujang(dot)milist(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: BDR, near xid wraparound, a lot of files in pg_subtrans directory
Date: 2017-09-15 02:36:51
Message-ID: CAMsr+YGX2RwHAwnjP2eDYEFAfZZ7h+Rxsfjt9ZhBx0hMLT5+SA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 14 September 2017 at 13:35, milist ujang <ujang(dot)milist(at)gmail(dot)com> wrote:

> HI list,
>
> I have a database with bdr environment which keep alerting these messages
> in log file:
>
> HINT: Close open transactions soon to avoid wraparound problems.
> WARNING: oldest xmin is far in the past
>

Do you have any idle/old replication slots, perhaps from failed node joins
or abandoned nodes not properly parted?

SELECT *
FROM pg_replication_slots;

Also check

SELECT oid,*
FROM pg_database;

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message George Neuner 2017-09-15 02:43:10 Re: looking for a globally unique row ID
Previous Message Joshua D. Drake 2017-09-14 22:40:01 Re: looking for a globally unique row ID