pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Dan Harris <fbsd@drivefaster.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Speedier count(*)
Date: Wed, 10 Aug 2005 17:23:39 -0700
Message-ID: <42FA9A8B.1040400@commandprompt.com> (raw)
In-Reply-To: <3E43C7D5-9DB8-4132-BF4F-607B000866E1@drivefaster.net>
References: <3E43C7D5-9DB8-4132-BF4F-607B000866E1@drivefaster.net>


> 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.

This specific instance is fixed in 8.1

Sincerely,

Joshua D. Drake


> 
> 
> -Dan
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match




view thread (12+ messages)  latest in thread

Message-ID: <42FA9A8B.1040400@commandprompt.com>
Permalink:  ../42FA9A8B.1040400@commandprompt.com/
Also on:    postgresql.org/message-id/42FA9A8B.1040400@commandprompt.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: jd@commandprompt.com, fbsd@drivefaster.net
  Subject: Re: Speedier count(*)
  In-Reply-To: <42FA9A8B.1040400@commandprompt.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