Skip site navigation (1) Skip section navigation (2)

Re: sequence query performance issues

From: Richard Huxton <dev(at)archonet(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Koczan <pjkoczan(at)gmail(dot)com>, pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: sequence query performance issues
Date: 2007-09-28 14:43:41
Message-ID: 46FD131D.3020901@archonet.com (view raw or flat)
Thread:
Lists: pgsql-performance
Tom Lane wrote:
> Richard Huxton <dev(at)archonet(dot)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

In response to

pgsql-performance by date

Next:From: Vivek KheraDate: 2007-09-28 14:53:20
Subject: Re: Postgres 7.4.2 hanging when vacuum full is run
Previous:From: Radhika SDate: 2007-09-28 14:28:03
Subject: Postgres 7.4.2 hanging when vacuum full is run

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group