Re: Usage of epoch in txid_current - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Usage of epoch in txid_current
Date
Msg-id CA+hUKG+a21Ap_PmfHbh8_GTbsKmHpVPh7JfwaXzXcBZyDA=cMw@mail.gmail.com
Whole thread Raw
In response to Re: Usage of epoch in txid_current  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-hackers
On Sat, Jun 22, 2019 at 11:01 AM Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> 3. Change SLRU on-disk format to handle 64-bit xids and multixacts.
> In particular make SLRU page numbers 64-bit too.  Add SLRU upgrade
> procedure to pg_upgrade.

+1 for doing this for the xid-indexed SLRUs so the segment file names
are never recycled.  Having yet another level of wraparound code to
feed and water and debug is not nice:

https://www.postgresql.org/message-id/flat/20190202083822.GC32531%40gust.leadboat.com

-- 
Thomas Munro
https://enterprisedb.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Increasing default value for effective_io_concurrency?
Next
From: Thomas Munro
Date:
Subject: Re: Usage of epoch in txid_current