Aggregates and Indexes

Поиск
Список
Период
Сортировка
От Adam Erickson
Тема Aggregates and Indexes
Дата
Msg-id ALEKKHACBIAEBNBPFKPCCEFHEDAA.adamre@cox.net
обсуждение исходный текст
Ответ на Re: total newbie question: windows download (binary)  ("Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>)
Ответы Re: Aggregates and Indexes  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: "James Kelty"
Дата:
Сообщение: Replication
Следующее
От: Jeffrey Trueblood
Дата:
Сообщение: Re: Replication