Re: Challenges preventing us moving to 64 bit transaction id (XID)?

From: Chris Travers <chris(dot)travers(at)adjust(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, Ryan Murphy <ryanfmurphy(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Challenges preventing us moving to 64 bit transaction id (XID)?
Date: 2019-02-13 11:16:33
Message-ID: CAN-RpxBTHxNDbE0PO92k-akvRJndBQN=Z=ioGgJbHiW9-r+2Qg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 2, 2018 at 12:07 AM Andres Freund <andres(at)anarazel(dot)de> wrote:

> On 2018-03-02 01:56:00 +0300, Alexander Korotkov wrote:
> > On Fri, Mar 2, 2018 at 1:51 AM, Andres Freund <andres(at)anarazel(dot)de>
> wrote:
> >
> > > On 2018-03-02 01:48:03 +0300, Alexander Korotkov wrote:
> > > > Also, the last commitfest is already too late for such big changes.
> > > > So, I'm marking this RWF.
> > >
> > > Agreed. Perhaps extract the 64bit GUC patch and track that separately?
> > > Seems like something we should just do...
> > >
> >
> > Sounds reasonable. But I didn't notice if there are other users for
> 64bit
> > GUCs besides 64bit xids?
>
> I think there were a couple past occasions where we could've used that,
> don't quite recall the details. We're at least not that far away from
> the point where various size limits are actually limited by int32
> range. And timeouts of ~25 days are long but not entirely unreasonable.
>

As a note here, I have worked on projects where there could be 2-week-long
idle-in-transaction states (no joke, we tuned things to only use virtual
xids for most of that time), and having an ability to set
idle-in-transaction timeouts to figures of greater than a month are things
I could imagine doing. I would certainly favor the idea of 64-big GUC
variables as a general rule.

>
> Greetings,
>
> Andres Freund
>
>

--
Best Regards,
Chris Travers
Head of Database

Tel: +49 162 9037 210 | Skype: einhverfr | www.adjust.com
Saarbrücker Straße 37a, 10405 Berlin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Arthur Zakirov 2019-02-13 11:17:41 Re: [PATCH] xlogreader: do not read a file block twice
Previous Message Chris Travers 2019-02-13 11:08:50 Re: Prevent extension creation in temporary schemas