From: Pavel Stehule <pavel.stehule@gmail.com>
To: Bryce Nesbitt <bryce2@obviously.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk?
Date: Wed, 10 Feb 2010 10:11:51 +0100
Message-ID: <162867791002100111n3cbf2164p5b9907d82174ba9@mail.gmail.com> (raw)
In-Reply-To: <4B726E81.2060904@obviously.com>
References: <4B723042.7090406@obviously.com>
<4B726E81.2060904@obviously.com>
2010/2/10 Bryce Nesbitt <bryce2@obviously.com>:
> Or, if you want to actually read that query plan, try:
> http://explain.depesz.com/s/qYq
>
hello,
check your work_mem sesttings. Hash join is very slow in your case.
Pavel
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>
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: pavel.stehule@gmail.com, bryce2@obviously.com
Subject: Re: 512,600ms query becomes 7500ms... but why? Postgres 8.3 query planner quirk?
In-Reply-To: <162867791002100111n3cbf2164p5b9907d82174ba9@mail.gmail.com>
References: <4B723042.7090406@obviously.com> <4B726E81.2060904@obviously.com> <162867791002100111n3cbf2164p5b9907d82174ba9@mail.gmail.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