Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKSME-00075G-Ca for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Jul 2016 15:33:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bKSMD-00079e-V6 for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Jul 2016 15:33:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bKSLa-0006Rl-OH for pgsql-bugs@postgresql.org; Tue, 05 Jul 2016 15:33:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bKSLY-0007tz-0R for pgsql-bugs@postgresql.org; Tue, 05 Jul 2016 15:33:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u65FX9RK031993; Tue, 5 Jul 2016 11:33:09 -0400 From: Tom Lane To: "Timur Luchkin" cc: pgsql-bugs@postgresql.org Subject: Re: Too slow "Analyze" for the table with data in Thai language In-reply-to: References: Comments: In-reply-to "Timur Luchkin" message dated "Tue, 05 Jul 2016 11:47:41 -0000" Date: Tue, 05 Jul 2016 11:33:09 -0400 Message-ID: <31992.1467732789@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "Timur Luchkin" writes: > I have a table (dictionary) with international data in many languages. > After the migration to the new hardware the 'analyze' operation instead > of 5 seconds takes 3-5 minutes now (with 100% cpu core usage). > Investigation showed that slow performance introduced by new glibc. > Previous versions of glibc (2.15 - 2.16) works fine, new versions (2.22 > and 2.23) have this problem (versions between 2.17 and 2.21 were not > tested). So ... why do you think this is a Postgres bug and not a glibc bug? We have no control over what happens inside strcoll(). regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs