Re: no index-usage on aggregate-functions?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: "Harald Lau (Sector-X)" <harald(at)sector-x(dot)de>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: no index-usage on aggregate-functions?
Date: 2004-06-29 13:44:06
Message-ID: 20040629134406.GC28041@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Jun 29, 2004 at 10:46:27 +0200,
"Harald Lau (Sector-X)" <harald(at)sector-x(dot)de> wrote:
>
> hmmmm...
> So, it seems that PG is not soooo well suited for a datawarehouse and/or performing extensive statistics/calculations/reportings on large tables, is it?

If you are doing lots of selects of aggregates relative to the number of
updates, you can cache the values of interest in derived tables and use
triggers to keep those tables up to date.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2004-06-29 13:50:32 Re: postgres 7.4 at 100%
Previous Message Bruno Wolff III 2004-06-29 13:28:13 Re: postgres 7.4 at 100%