Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk? - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk?
Date
Msg-id 4B753363020000250002F259@gw.wicourts.gov
Whole thread Raw
In response to Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk?  (Karl Denninger <karl@denninger.net>)
List pgsql-performance
Karl Denninger <karl@denninger.net> wrote:
> Kevin Grittner wrote:

>> Have you seen such a difference under 8.4?  Can you provide a
>> self-contained example?

> Yes:
>
> [query and EXPLAIN ANALYZE of fast query]

> The alternative:
>
> [query with no other information]
>
> goes nuts.

Which means what?  Could you post an EXPLAIN ANALYZE, or at least an
EXPLAIN, of the slow version?  Can you post the table structure,
including indexes?

-Kevin

pgsql-performance by date:

Previous
From: Karl Denninger
Date:
Subject: Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk?
Next
From: Tom Lane
Date:
Subject: Re: Questions on plan with INSERT/SELECT on partitioned table