pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query that took a lot of time in Postgresql when not using trim in order by
Date: Sun, 29 Nov 2015 12:58:36 -0500
Message-ID: <6979.1448819916@sss.pgh.pa.us> (raw)
In-Reply-To: <20151129132323.GA29654@hjp.at>
References: <CANL=RnsS-VFKwV0-PGRZwvV6boFRZ9CSBGvDFDm3TLts-SUHVQ@mail.gmail.com>
	<5655E044.6070207@postgrespro.ru>
	<855510F3-CAF0-4C52-848E-54EC61F10DE6@gmail.com>
	<20151129132323.GA29654@hjp.at>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

"Peter J. Holzer" <hjp-pgsql@hjp.at> writes:
> Seems plausible. Also I'm wondering what CPU this is: 36 seconds for an
> in-memory sort of 900k rows seems slow to me.

I'm wondering if it's textual data in some locale whose strcoll() behavior
is exceptionally slow.

			regards, tom lane


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (6+ messages)

Message-ID: <6979.1448819916@sss.pgh.pa.us>
Permalink:  ../6979.1448819916@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6979.1448819916@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hjp-pgsql@hjp.at
  Subject: Re: Query that took a lot of time in Postgresql when not using trim in order by
  In-Reply-To: <6979.1448819916@sss.pgh.pa.us>

* 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