pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Siracusa <siracusa@mindspring.com>
To: Postgres Performance <pgsql-performance@postgresql.org>
Subject: Re: Select max(foo) and select count(*) optimization
Date: Mon, 05 Jan 2004 15:01:18 -0500
Message-ID: <BC1F2CBE.713D1%siracusa@mindspring.com> (raw)
In-Reply-To: <1073332325.8958.8.camel@jester>

On 1/5/04 2:52 PM, Rod Taylor wrote:
> max(foo) optimizations requires an extension to the aggregates system.
> It will likely happen within a few releases.

Looking forward to it.

> A work around can be accomplished today through the use of LIMIT and ORDER BY.

Wowzers, I never imagined that that'd be so much faster.  Thanks! :)

-John




view thread (19+ messages)  latest in thread

Message-ID: <BC1F2CBE.713D1%siracusa@mindspring.com>
Permalink:  ../BC1F2CBE.713D1%25siracusa@mindspring.com/
Also on:    postgresql.org/message-id/BC1F2CBE.713D1%siracusa@mindspring.com

 · 

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: siracusa@mindspring.com
  Subject: Re: Select max(foo) and select count(*) optimization
  In-Reply-To: <BC1F2CBE.713D1%siracusa@mindspring.com>

* 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