pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: davidsarmstrong <dsatemp-1@yahoo.com>
To: pgsql-performance@postgresql.org
Subject: Re: Slow query when using ORDER BY *and* LIMIT
Date: Thu, 13 Oct 2011 12:34:09 -0700 (PDT)
Message-ID: <1318534448999-4900348.post@n5.nabble.com> (raw)
In-Reply-To: <4E13A9C2.9000906@kc8onw.net>
References: <4E13A9C2.9000906@kc8onw.net>

I'm running into the same problem. I removed the limit and it was fine. I
guess I could have removed the order by as well but it doesn't help if you
really need both.

Have you found any more information on this?

Thanks!

Dave (Armstrong)

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Slow-query-when-using-ORDER-BY-and-LIMIT-tp4555260p4900348.h...
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.



view thread (6+ messages)  latest in thread

Message-ID: <1318534448999-4900348.post@n5.nabble.com>
Permalink:  ../1318534448999-4900348.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1318534448999-4900348.post@n5.nabble.com

 · 

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: dsatemp-1@yahoo.com
  Subject: Re: Slow query when using ORDER BY *and* LIMIT
  In-Reply-To: <1318534448999-4900348.post@n5.nabble.com>

* 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