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: Ketema <ketema@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Improving Query
Date: Tue, 30 Oct 2007 11:39:12 -0400
Message-ID: <23552.1193758752@sss.pgh.pa.us> (raw)
In-Reply-To: <4727305B.9050307@archonet.com>
References: <1193746737.222960.206150@50g2000hsm.googlegroups.com>
	<4727305B.9050307@archonet.com>

Richard Huxton <dev@archonet.com> writes:
> Ketema wrote:
>> 5)Upgrade version of pg..currently is running 8.1.4

> Well every version gets better at planning, so it can't hurt.

+1 ... there are at least two things about this query that 8.2 could be
expected to be a great deal smarter about:
* mixed outer and inner joins
* something = ANY(array)

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <23552.1193758752@sss.pgh.pa.us>
Permalink:  ../23552.1193758752@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23552.1193758752@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, ketema@gmail.com
  Subject: Re: Improving Query
  In-Reply-To: <23552.1193758752@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