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?
Дата
Msg-id 5504.1193929617@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: select max(field) from table much faster with a group by clause?  (Palle Girgensohn <girgen@pingpong.net>)
Ответы Re: select max(field) from table much faster with a group by clause?  (Palle Girgensohn <girgen@pingpong.net>)
Re: select max(field) from table much faster with a group by clause?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-performance
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?

            regards, tom lane

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

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