Re: 9.6.11- could not truncate directory "pg_serial": apparent wraparound - Mailing list pgsql-general

From Pavel Suderevsky
Subject Re: 9.6.11- could not truncate directory "pg_serial": apparent wraparound
Date
Msg-id CAEBTBzuargmanLhZUpiUf=_15b8zTZ8LY6oA0Ry0SVF3-jde7w@mail.gmail.com
Whole thread Raw
In response to Re: 9.6.11- could not truncate directory "pg_serial": apparent wraparound  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: 9.6.11- could not truncate directory "pg_serial": apparent wraparound  (Pavel Suderevsky <psuderevsky@gmail.com>)
List pgsql-general
On Sun, Apr 7, 2019 at 2:31 AM Pavel Suderevsky <psuderevsky@gmail.com> wrote:
> Probably if you advise me what could cause "pg_serial": apparent wraparound messages I would have more chances to handle all the performance issues.

Did you see that warning at some point before the later error?
Thomas,

Thank you for your reply!

No, there have never been such warnings.

I wonder if this condition required you to have a serializable
transaction running (or prepared) while you consume 2^30 AKA ~1
billion xids.  I think it is unreachable in v11+ because commit
e5eb4fa8 allowed for more SLRU pages to avoid this artificially early
wrap.  
 
Do I understand right that this is about Virtual txids? Have no idea how even a something close to a billion of transaction ids could be consumed on this system.
 
--
Pavel Suderevsky

pgsql-general by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: Transactions
Next
From: Adrian Klaver
Date:
Subject: Re: Logical replication failed recovery