pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dennis Bjorklund <db@zigo.dhs.org>
Cc: Jack Coates <jack@lyris.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: query optimization question
Date: Fri, 30 Jan 2004 09:51:10 -0500
Message-ID: <13026.1075474270@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0401300815390.30205-100000@zigo.dhs.org>
References: <Pine.LNX.4.44.0401300815390.30205-100000@zigo.dhs.org>

Dennis Bjorklund <db@zigo.dhs.org> writes:
> Getting rid of the group by would not give that kind of speedup?

No.  Getting rid of the per-row subqueries (or at least finding a way to
make 'em a lot cheaper) is the only way to make any meaningful change.

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <13026.1075474270@sss.pgh.pa.us>
Permalink:  ../13026.1075474270@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13026.1075474270@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, db@zigo.dhs.org, jack@lyris.com
  Subject: Re: query optimization question
  In-Reply-To: <13026.1075474270@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