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 6024.1193931282@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>)
Список pgsql-performance
Palle Girgensohn <girgen@pingpong.net> writes:
> --On torsdag, november 01, 2007 11.06.57 -0400 Tom Lane <tgl@sss.pgh.pa.us>
> wrote:
>> Um, you did re-ANALYZE the table after changing the setting?

> alter table login alter userid SET statistics 1000;
> vacuum analyze login;

Hm, that's the approved procedure all right.  But the plans didn't
change at all?  Not even the estimated number of rows?

            regards, tom lane

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

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