Re: sequence query performance issues

From: "Peter Koczan" <pjkoczan(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Richard Huxton" <dev(at)archonet(dot)com>, pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: sequence query performance issues
Date: 2007-09-28 17:33:35
Message-ID: 4544e0330709281033s5a8c72ccj979f1c02a43188a0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

*light bulb* Ahhhhhhh, that's it. So, I guess the solution is either
to cast the column or wait for 8.3 (which isn't a problem since the
port won't be done until 8.3 is released anyway).

Thanks again.

Peter

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Arctic Toucan 2007-09-28 17:50:32 OOM Errors as a result of table inheritance and a bad plan(?)
Previous Message Scott Marlowe 2007-09-28 15:28:39 Re: Postgres 7.4.2 hanging when vacuum full is run