Re: Postgres refusing to use >1 core

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Postgres refusing to use >1 core
Дата
Msg-id 4DD9EF2B.9030104@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Postgres refusing to use >1 core  (Aren Cambre <aren@arencambre.com>)
Ответы Re: Postgres refusing to use >1 core  (Aren Cambre <aren@arencambre.com>)
Список pgsql-performance
On 23/05/11 12:09, Aren Cambre wrote:
> Also, thanks for the advice on batching my queries. I am now using a
> very efficient bulk data read and write methods for Postgres.
>
> My program bulk reads 100,000 rows, processes those rows (during which
> it does a few SELECTs), and then writes 100,000 rows at a time.
>
> It cycles through this until it has processed all 12,000,000 rows.
>
> This, plus the parallelism fix, will probably convert this 30 hour
> program to a <2 hour program.

It's always good to hear when these things work out. Thanks for
reporting back.

Using the set-based nature of relational databases to your advantage,
writing smarter queries that do more work server-side with fewer
round-trips, and effective batching can make a huge difference.

--
Craig Ringer

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

Предыдущее
От: Aren Cambre
Дата:
Сообщение: Re: Postgres refusing to use >1 core
Следующее
От: "Pierre C"
Дата:
Сообщение: Re: FW: KVP table vs. hstore - hstore performance (Was: Postgres NoSQL emulation)