Re: Big Performance drop of Exceptions in UDFs between V11.2 and 13.4

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "ldh(at)laurent-hasson(dot)com" <ldh(at)laurent-hasson(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Big Performance drop of Exceptions in UDFs between V11.2 and 13.4
Date: 2021-09-01 05:14:24
Message-ID: CAOBaU_bohxqaJtO9JMvhh7m51VrurYjF4QvKmck+OZ13DUxaAw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, Sep 1, 2021 at 1:56 AM Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
> The culprit turns out to be the precise version of libiconv/libintl
> used. There is a slight difference between the versions used in the
> 11.13 installer and the 13.4 installer. We need to dig into performance
> more (e.g. why does the test take much longer on an NLS enabled build
> even when we are using 'initdb --no-locale'?) But I'm pretty confident
> now that this is the issue. I've started talks with our installer guys
> about fixing it.

FTR it's consistent with my own setup. I could finally compile
postgres with NLS support and libintl 0.18.1 and I only got a limited
overhead: the runtime increases from ~460ms to ~1.5s (and ~2s with
lc_messages to something else than C), but that's way better than the
~44s with the current edb version.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Dunstan 2021-09-02 15:22:54 Re: Big Performance drop of Exceptions in UDFs between V11.2 and 13.4
Previous Message Andrew Dunstan 2021-08-31 17:55:55 Re: Big Performance drop of Exceptions in UDFs between V11.2 and 13.4