Re: Has gen_random_uuid() gotten much slower in v17?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Mullineux <dmullx(at)gmail(dot)com>
Cc: Frédéric Yhuel <frederic(dot)yhuel(at)dalibo(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Has gen_random_uuid() gotten much slower in v17?
Date: 2024-11-20 22:26:29
Message-ID: 258673.1732141589@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

[ please don't top-quote, it makes the conversation hard to follow ]

David Mullineux <dmullx(at)gmail(dot)com> writes:
> On Wed, 20 Nov 2024, 15:46 Tom Lane, <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Yeah. Also, are you building with openssl, or not?

> No, not at all!

If you're not using openssl, then gen_random_uuid basically devolves
to a read of /dev/urandom. Maybe you're using a different kernel
than before, and it has different properties around that?

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Pavel Stehule 2024-11-21 04:07:09 Re: proposal: schema variables
Previous Message David Mullineux 2024-11-20 22:11:09 Re: Has gen_random_uuid() gotten much slower in v17?