Re: Cost of sort/order by not estimated by the query planner - Mailing list pgsql-performance

From Laurent Laborde
Subject Re: Cost of sort/order by not estimated by the query planner
Date
Msg-id 8a1bfe660912020520h16678673i1811d9a9fb3ddafc@mail.gmail.com
Whole thread Raw
In response to Re: Cost of sort/order by not estimated by the query planner  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Cost of sort/order by not estimated by the query planner
List pgsql-performance
On Wed, Dec 2, 2009 at 2:17 PM, Robert Haas <robertmhaas@gmail.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/

pgsql-performance by date:

Previous
From: Robert Haas
Date:
Subject: Re: Cost of sort/order by not estimated by the query planner
Next
From: Craig Ringer
Date:
Subject: Re: Order by (for 15 rows) adds 30 seconds to query time