From: Richard Huxton <dev@archonet.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: sequence query performance issues
Date: Fri, 28 Sep 2007 15:43:41 +0100
Message-ID: <46FD131D.3020901@archonet.com> (raw)
In-Reply-To: <886.1190988979@sss.pgh.pa.us>
References: <4544e0330709271504g364fd042u161966fa448934f6@mail.gmail.com>
<46FCB5F3.4080600@archonet.com>
<886.1190988979@sss.pgh.pa.us>
Tom Lane wrote:
> Richard Huxton <dev@archonet.com> writes:
>> Hmm - why is it doing that?
>
> I'm betting that the OP's people.uid column is not an integer. Existing
> PG releases can't use hashed subplans for cross-data-type comparisons
> (8.3 will be a bit smarter).
Looked like an int2 to me (width=2, max value ~ 32k)
--
Richard Huxton
Archonet Ltd
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: dev@archonet.com, tgl@sss.pgh.pa.us, pjkoczan@gmail.com
Subject: Re: sequence query performance issues
In-Reply-To: <46FD131D.3020901@archonet.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