Re: slow subselects

Поиск
Список
Период
Сортировка
От Marko Niinimaki
Тема Re: slow subselects
Дата
Msg-id 58b7e6510702202134n45e1ef87tc8bc62b2586c43d7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: slow subselects  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Many thanks! Ismo's reply solved the problem, and Tom's reply solved
another one.

Marko

Ismo Tuononen wrote:
> select studentid,max(score) from studentprofile group by studentid;

On 20/02/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> The optimal index for this would be on studentprofile(studentid,score).

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

Предыдущее
От: "Dave Dutcher"
Дата:
Сообщение: Re: SELECT performance problem
Следующее
От: Jacek Zaręba
Дата:
Сообщение: Postgres performance Linux vs FreeBSD