Aggregates and Indexes - Mailing list pgsql-novice

From Adam Erickson
Subject Aggregates and Indexes
Date
Msg-id ALEKKHACBIAEBNBPFKPCCEFHEDAA.adamre@cox.net
Whole thread Raw
In response to Re: total newbie question: windows download (binary)  ("Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>)
Responses Re: Aggregates and Indexes
List pgsql-novice
Their has been some discussion regarding aggregate functions and indexes.
It's clear that aggregate functions will not take advantage of any indexes.
(ie. SELECT sum(number) FROM table WHERE type=BLAH will not take advantage
of 'type' being indexed.)

I do a lot of reporting based on such SQL statements.  Counting rows from
large datasets.  Since the PG gurus don't seem to think this is such a big
deal can someone enlighten me as to why?

Thanks,
Adam Erickson


pgsql-novice by date:

Previous
From: "James Kelty"
Date:
Subject: Replication
Next
From: Jeffrey Trueblood
Date:
Subject: Re: Replication