Re: Speeding up select distinct - Mailing list pgsql-performance

From PFC
Subject Re: Speeding up select distinct
Date
Msg-id opsnqsmjvlth1vuj@localhost
Whole thread Raw
In response to Speeding up select distinct  (Laurent Martelli <laurent@aopsys.com>)
Responses Re: Speeding up select distinct  (Laurent Martelli <laurent@aopsys.com>)
List pgsql-performance
    Try :

    SELECT owner from pictures group by owner;

> Any ideas, apart from more or less manually maintaining a list of
> distinct owners in another table ?

    That would be a good idea too for normalizing your database.


pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: cpu_tuple_cost
Next
From: Josh Berkus
Date:
Subject: Re: multi-column index