Re: How slow is DISTINCT?

Поиск
Список
Период
Сортировка
От Dan Langille
Тема Re: How slow is DISTINCT?
Дата
Msg-id 200202272131.g1RLV7k94868@lists.unixathome.org
обсуждение исходный текст
Ответ на How slow is DISTINCT?  (Wei Weng <wweng@kencast.com>)
Список pgsql-sql
On 27 Feb 2002 at 13:27, Wei Weng wrote:

> I tend to use DISTINCT a lot in my queries to limit the repeated rows. Is
> that a good habbit?

If that's what you need, use it.

> How exactly slow is DISTINCT being processed in SQL engines? (not
> limited to postgresql, though comments on postgresql would be most
> relevant)

Try it.  Compare the same SQL with and without DISTINCT.
-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples



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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: How slow is DISTINCT?
Следующее
От: Wei Weng
Дата:
Сообщение: Re: How slow is DISTINCT?