Re: Cost of sort/order by not estimated by the query planner

From: Laurent Laborde <kerdezixe(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Cost of sort/order by not estimated by the query planner
Date: 2009-12-02 13:20:30
Message-ID: 8a1bfe660912020520h16678673i1811d9a9fb3ddafc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Wed, Dec 2, 2009 at 2:17 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> I'm confused.  I think you've only shown us two query plans, so it's
> hard to judge what's going on here in the two cases you haven't shown.
>  Also, you haven't shown the EXPLAIN ANALYZE output, so it's a bit
> tricky to judge what is really happening.

I will provide all the explain analyze.
But considering that the request with limit 5 take more than an half
hour (i don't know how much exactly), it will take some times.
See you soon :)

--
Laurent "ker2x" Laborde
Sysadmin & DBA at http://www.over-blog.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2009-12-02 13:33:49 Re: Page-level version upgrade
Previous Message Kern Sibbald 2009-12-02 13:18:52 Catastrophic changes to PostgreSQL 8.4

Browse pgsql-performance by date

  From Date Subject
Next Message Craig Ringer 2009-12-02 13:46:50 Re: Order by (for 15 rows) adds 30 seconds to query time
Previous Message Robert Haas 2009-12-02 13:17:41 Re: Cost of sort/order by not estimated by the query planner