Re: Overusing 1 CPU

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Overusing 1 CPU
Дата
Msg-id 20100602115916.GE21875@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Overusing 1 CPU  (Mozzi <mozzi.glug@gmail.com>)
Список pgsql-performance
Mozzi,

* Mozzi (mozzi.glug@gmail.com) wrote:
> Thanx mate Create Index seems to be the culprit.
> Is it normal to just use 1 cpu tho?

Yes, PG can only use 1 CPU for a given query or connection.  You'll
start to see the other CPUs going when you have more than one connection
to the database.  If you're building alot of indexes then you probably
want to split up the statements into multiple connections and run them
in parallel.

    Thanks,

        Stephen

Вложения

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Overusing 1 CPU
Следующее
От: Joachim Worringen
Дата:
Сообщение: Re: performance of temporary vs. regular tables