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: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Speeding up Aggregates
Date: Fri, 10 Oct 2003 10:32:32 -0700
Message-ID: <200310101032.32271.josh@agliodbs.com> (raw)
In-Reply-To: <20031010035526.GT2979@rlx11.zapatec.com>
References: <20031003202120.GO87525@rlx11.zapatec.com>
	<20031010013522.GB18596@wolff.to>
	<20031010035526.GT2979@rlx11.zapatec.com>

Dror,

> Ouch. I just double checked and you're right. Is this considered a bug,
> or just an implementation issue?

It's an implementation issue, which may be fixed by 7.5 but not sooner.  
Basically, the free ability of PostgreSQL users to define their own 
aggregates limits our ability to define query planner optimization for 
aggregates.   Only recently has anyone suggested a feasable way around this.

> While I've seen this hint a few times in the lists, it seems like it's
> one of those magic incantations that those in the know, know about, and
> that people new to postgres are going to be surprised by the need to use
> this idiom.

It IS in the FAQ.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (22+ messages)  latest in thread

Message-ID: <200310101032.32271.josh@agliodbs.com>
Permalink:  ../200310101032.32271.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200310101032.32271.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: <200310101032.32271.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