pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Huxton <dev@archonet.com>
Cc: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: sequence query performance issues
Date: Fri, 28 Sep 2007 10:16:19 -0400
Message-ID: <886.1190988979@sss.pgh.pa.us> (raw)
In-Reply-To: <46FCB5F3.4080600@archonet.com>
References: <4544e0330709271504g364fd042u161966fa448934f6@mail.gmail.com>
	<46FCB5F3.4080600@archonet.com>

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).

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <886.1190988979@sss.pgh.pa.us>
Permalink:  ../886.1190988979@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/886.1190988979@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, dev@archonet.com, pjkoczan@gmail.com
  Subject: Re: sequence query performance issues
  In-Reply-To: <886.1190988979@sss.pgh.pa.us>

* 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