From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Karl Denninger <karl@denninger.net>
Cc: Bryce Nesbitt <bryce2@obviously.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk?
Date: Fri, 12 Feb 2010 10:54:27 -0600
Message-ID: <4B753363020000250002F259@gw.wicourts.gov> (raw)
In-Reply-To: <4B75851E.6070909@denninger.net>
References: <4B723042.7090406@obviously.com>
<4B751AD5020000250002F248@gw.wicourts.gov>
<4B757C59.8070500@denninger.net>
<4B752934020000250002F24E@gw.wicourts.gov>
<4B75851E.6070909@denninger.net>
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, karl@denninger.net, bryce2@obviously.com
Subject: Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk?
In-Reply-To: <4B753363020000250002F259@gw.wicourts.gov>
References: <4B723042.7090406@obviously.com> <4B751AD5020000250002F248@gw.wicourts.gov> <4B757C59.8070500@denninger.net> <4B752934020000250002F24E@gw.wicourts.gov> <4B75851E.6070909@denninger.net> <4B753363020000250002F259@gw.wicourts.gov>
* 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