Re: SQL Performance Guidelines

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Mitch Pirtle <mitch(dot)pirtle(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: SQL Performance Guidelines
Date: 2005-01-27 15:19:41
Message-ID: 41F9068D.4080507@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> For example, IIRC when joining an integer column with a SERIAL column,
> you must expicitly cast it as an integer or the planner will not use
> the indexes, right? (This is a guess, as I remember reading something
> like this and thinking, "How in the world is someone supposed to
> figure that out, even with EXPLAIN?")

That's not true at all. Perhaps you're thinking about BIGSERIAL and
int8 indexes - something that's been addressed in 8.0.

Chris

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Alexandre Leclerc 2005-01-27 15:23:34 Flattening a kind of 'dynamic' table
Previous Message Mitch Pirtle 2005-01-27 14:50:32 Re: SQL Performance Guidelines