pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Dror Matalon <dror@zapatec.com>
To: pgsql-performance@postgresql.org
Subject: Re: Speeding up Aggregates
Date: Fri, 3 Oct 2003 14:35:46 -0700
Message-ID: <200310031435.46838.josh@agliodbs.com> (raw)
In-Reply-To: <20031003212848.GP87525@rlx11.zapatec.com>
References: <20031003202120.GO87525@rlx11.zapatec.com>
	<200310031407.10343.josh@agliodbs.com>
	<20031003212848.GP87525@rlx11.zapatec.com>

Dror,

> I am using 7.4, and had tried NOT EXISTS and didn't see any
> improvements.

It wouldn't if you're using 7.4, which has improved IN performance immensely.

What happens if you stop using a function and instead use a subselect?

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (22+ messages)  latest in thread

Message-ID: <200310031435.46838.josh@agliodbs.com>
Permalink:  ../200310031435.46838.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200310031435.46838.josh@agliodbs.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: josh@agliodbs.com, dror@zapatec.com
  Subject: Re: Speeding up Aggregates
  In-Reply-To: <200310031435.46838.josh@agliodbs.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