Re: Too slow "Analyze" for the table with data in Thai language

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Timur Luchkin <timur(dot)luchkin(at)gmail(dot)com>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Too slow "Analyze" for the table with data in Thai language
Date: 2016-07-06 01:32:32
Message-ID: CAEepm=21_hqfKo6YBOq0p2hwy54D91fjJNf029RawaqEA=TjUw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Jul 6, 2016 at 11:52 AM, Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> On Tue, Jul 5, 2016 at 8:33 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> So ... why do you think this is a Postgres bug and not a glibc bug?
>> We have no control over what happens inside strcoll().
>
> I'd be interested in seeing exactly where time is spent by glibc.
> Perhaps Timur can use perf to show us a profile using the default perf
> event type:
>
> https://wiki.postgresql.org/wiki/Profiling_with_perf

I wonder if it is this bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=18441

Some possibly relevant mailing list traffic that highlights Thai:

https://sourceware.org/ml/libc-alpha/2015-10/msg00149.html
https://sourceware.org/ml/libc-alpha/2016-03/msg00699.html

--
Thomas Munro
http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2016-07-06 02:08:35 Re: BUG #14228: replication slot catalog_xmin not cleared on slot reuse
Previous Message Peter Geoghegan 2016-07-05 23:52:56 Re: Too slow "Analyze" for the table with data in Thai language