Re: Is monotonous xid8 is a right way to do? - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Re: Is monotonous xid8 is a right way to do?
Date
Msg-id 87r16hou50.fsf@wibble.ilmari.org
Whole thread Raw
In response to Re: Is monotonous xid8 is a right way to do?  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
List pgsql-hackers
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> writes:

> Even if a cluster was consuming a million XIDs per second, it would take
> over half a million years to wrap around the 64bit range. Is that really
> something we should worry about?
>
> ilmari@[local]:5432 ~=# select 2::numeric^64/10^9/3600/24/365;

Oops, that should be 10^6, not 10^9. I was dithering over whether to do
it as a million or a billion per second.  For a billion XIDs per second
it would last a mere half millennium.

> ┌──────────────────┐
> │     ?column?     │
> ├──────────────────┤
> │ 584942.417355072 │
> └──────────────────┘
>
> - ilmari



pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: Is monotonous xid8 is a right way to do?
Next
From: Matthias van de Meent
Date:
Subject: Re: Is monotonous xid8 is a right way to do?