From: Timur Luchkin <timur.luchkin@gmail.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-bugs@postgresql.org, "Tom Lane" <tgl@sss.pgh.pa.us>
Subject: Re: Too slow "Analyze" for the table with data in Thai language
Date: Wed, 06 Jul 2016 07:47:49 +0000
Message-ID: <emb351f641-830d-4ccd-a07a-e6e49a967605@luchkin-new> (raw)
In-Reply-To: <CAH2-Wz=Dh8RwjsDZP_Qu6D5bjb-19VoRpGA369+V9XjExY=_gQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hello,
complete result of the perf is in the attachment.
The part with glibc looks like:
# Children Self Samples Command Shared Object
Symbol
# ........ ........ ............ .............
.......................
....................................................
59.26% 59.25% 815883 postgres libc-2.23.so
[.] __strcoll_l
--59.26%--__strcoll_l
p.s.
1. perf executed during 'long' ANALYZE as "perf record -a -g";
2. test server has 2 CPU cores
3. this is dedicated server without any parallel activity
--
Timur Luchkin
>On Tue, Jul 5, 2016 at 8:33 AM, Tom Lane <tgl@sss.pgh.pa.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
>
>--
>Peter Geoghegan=
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugsAttachments:
out.txt.bz2 (application/octet-stream, 12.1K) download
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-bugs@postgresql.org
Cc: timur.luchkin@gmail.com, pg@bowt.ie, tgl@sss.pgh.pa.us
Subject: Re: Too slow "Analyze" for the table with data in Thai language
In-Reply-To: <emb351f641-830d-4ccd-a07a-e6e49a967605@luchkin-new>
References: <CAH2-Wz=Dh8RwjsDZP_Qu6D5bjb-19VoRpGA369+V9XjExY=_gQ@mail.gmail.com> <emb351f641-830d-4ccd-a07a-e6e49a967605@luchkin-new>
* 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