pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Dan Harris <fbsd@drivefaster.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Speedier count(*)
Date: Wed, 10 Aug 2005 18:36:35 -0600
Message-ID: <20050811003635.GA69508@winnie.fuhr.org> (raw)
In-Reply-To: <3E43C7D5-9DB8-4132-BF4F-607B000866E1@drivefaster.net>
References: <3E43C7D5-9DB8-4132-BF4F-607B000866E1@drivefaster.net>

On Wed, Aug 10, 2005 at 05:37:49PM -0600, Dan Harris wrote:
> Also, I am using "select ... group by ... order by .. limit 1" to get  
> the min/max since I have already been bit by the issue of min() max()  
> being slower.

PostgreSQL 8.1 will have optimizations for certain MIN and MAX
queries.

http://archives.postgresql.org/pgsql-committers/2005-04/msg00163.php
http://archives.postgresql.org/pgsql-committers/2005-04/msg00168.php

-- 
Michael Fuhr



view thread (12+ messages)  latest in thread

Message-ID: <20050811003635.GA69508@winnie.fuhr.org>
Permalink:  ../20050811003635.GA69508@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050811003635.GA69508@winnie.fuhr.org

 · 

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: mike@fuhr.org, fbsd@drivefaster.net
  Subject: Re: Speedier count(*)
  In-Reply-To: <20050811003635.GA69508@winnie.fuhr.org>

* 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