Re: Speeding up select distinct

Поиск
Список
Период
Сортировка
От PFC
Тема Re: Speeding up select distinct
Дата
Msg-id opsnqsmjvlth1vuj@localhost
обсуждение исходный текст
Ответ на Speeding up select distinct  (Laurent Martelli <laurent@aopsys.com>)
Ответы Re: Speeding up select distinct  (Laurent Martelli <laurent@aopsys.com>)
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: cpu_tuple_cost
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: multi-column index