pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Cousin <cousinmarc@gmail.com>
To: pgsql-pkg-debian@postgresql.org
Subject: libuuid performance impact
Date: Mon, 30 Apr 2018 17:32:17 +0200
Message-ID: <4f125945-e979-1f9e-a39b-a4bf5a4eca6b@gmail.com> (raw)

Hi

I've been investigating a performance "problem" with uuid generation
https://jasonaowen.net/blog/2017/Apr/13/benchmarking-uuids-v2/, which I
couldn't reproduce on my computer while it occurred on my servers. After
a few tests, it seems to come from uuid-ossp being replaced with
libuuid… when linking postgresql with uuid-ossp I get the exact same
performance between uuid_generate_v4 and gen_random_uuid. When linking
with libuuid, I get the same results as those displayed in the linked
webpage (I can provide numbers).

Is this an expected difference ?


Please tell me what I can provide if required.

Regards

Marc

Attachments:

  signature.asc (application/pgp-signature, 487B) download

view thread (3+ messages)  latest in thread

Message-ID: <4f125945-e979-1f9e-a39b-a4bf5a4eca6b@gmail.com>
Permalink:  ../4f125945-e979-1f9e-a39b-a4bf5a4eca6b@gmail.com/
Also on:    postgresql.org/message-id/4f125945-e979-1f9e-a39b-a4bf5a4eca6b@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: cousinmarc@gmail.com
  Subject: Re: libuuid performance impact
  In-Reply-To: <4f125945-e979-1f9e-a39b-a4bf5a4eca6b@gmail.com>
  References: <4f125945-e979-1f9e-a39b-a4bf5a4eca6b@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox