Re: select max(field) from table much faster with a group by clause?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: select max(field) from table much faster with a group by clause?
Дата
Msg-id dcc563d10711010828t6802a8av9235cc8c70568089@mail.gmail.com
обсуждение исходный текст
Ответ на Re: select max(field) from table much faster with a group by clause?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On 11/1/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Palle Girgensohn <girgen@pingpong.net> writes:
> > Unfortunately, altering statistics doesn't help. I see no difference when
> > altering the value from 10 (default) to 100, 1000 or 100000. :-(
>
> Um, you did re-ANALYZE the table after changing the setting?

And he changed it with

ALTER TABLE name ALTER [ COLUMN ] column SET STORAGE { PLAIN |
EXTERNAL | EXTENDED | MAIN }

right?

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

Предыдущее
От: Palle Girgensohn
Дата:
Сообщение: Re: select max(field) from table much faster with a group by clause?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: select max(field) from table much faster with a group by clause?