Re: slow subselects - Mailing list pgsql-performance

From Marko Niinimaki
Subject Re: slow subselects
Date
Msg-id 58b7e6510702202134n45e1ef87tc8bc62b2586c43d7@mail.gmail.com
Whole thread Raw
In response to Re: slow subselects  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: "Dave Dutcher"
Date:
Subject: Re: SELECT performance problem
Next
From: Jacek Zaręba
Date:
Subject: Postgres performance Linux vs FreeBSD