Re: 100% CPU Utilization when we run queries.

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: 100% CPU Utilization when we run queries.
Дата
Msg-id CAOR=d=3+jHB7Qqs9mpG--AKGRWb=VS6pCL82ao1n5=rqDFg9WA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 100% CPU Utilization when we run queries.  (Tomas Vondra <tv@fuzzy.cz>)
Список pgsql-performance
On Wed, Jul 6, 2011 at 1:04 PM, Tomas Vondra <tv@fuzzy.cz> wrote:
> Dne 6.7.2011 15:30, bakkiya napsal(a):
>> Any help, please?
>
> According to the EXPLAIN ANALYZE output (please, don't post it to the
> mailing list directly - use something like explain.depesz.com, I've done
> that for you this time: http://explain.depesz.com/s/HMN), you're doing a
> UNIQUE over a lot of data (2 million rows, 1.5GB).

It might have been optimized lately, but generally unique is slower
than group by will be.

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

Предыдущее
От: Samuel Gendler
Дата:
Сообщение: Re: Query in 9.0.2 not using index in 9.0.0 works fine
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: 100% CPU Utilization when we run queries.