Re: MAX() and multi-column index on a partitioned table?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: MAX() and multi-column index on a partitioned table?
Дата
Msg-id 21054.1432343630@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: MAX() and multi-column index on a partitioned table?  (Dave Johansen <davejohansen@gmail.com>)
Список pgsql-performance
Dave Johansen <davejohansen@gmail.com> writes:
> On Fri, May 22, 2015 at 3:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> What PG version are you using?  9.1 or newer should know how to do this
>> with a merge append of several indexscans.

> Sorry, I should have mentioned that in the original email. I'm using 8.4.20
> on RHEL 6. From your reply, it sounds like this is the expected behavior
> for 8.4 and 9.0. Is that the case?

Yeah, pre-9.1 is not very bright about that.  You could factor the query
manually, perhaps, though it's surely a pain in the neck.

            regards, tom lane


В списке pgsql-performance по дате отправления:

Предыдущее
От: Dave Johansen
Дата:
Сообщение: Re: MAX() and multi-column index on a partitioned table?
Следующее
От: Tory M Blue
Дата:
Сообщение: ERROR: missing chunk number 0 for toast value 1821556134 in pg_toast_17881