Re: Looking for ideas on how to speed up warehouse loading

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: Looking for ideas on how to speed up warehouse loading
Дата
Msg-id Pine.LNX.4.33.0404231022440.26996-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: Looking for ideas on how to speed up warehouse loading  (Sean Shanny <shannyconsulting@earthlink.net>)
Список pgsql-performance
On Thu, 22 Apr 2004, Sean Shanny wrote:

> I should have included this as well:
>  fsync                          | on
>  shared_buffers                 | 4000
>  sort_mem                       | 64000

For purposes of loading only, you can try turning off fsync, assuming this
is a virgin load and you can just re-initdb should bad things happen (OS,
postgresql crash, power plug pulled, etc...)

Also increasing sort_mem and shared_buffers might help.  Especially
sort_mem.  But turn it back down to something reasonable after the import.

And turn fsync back on after the import too.  Note you have to restart
postgresql to make fsync = off take effect.


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

Предыдущее
От: "Aaron Werman"
Дата:
Сообщение: Re: Help with performance problems
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Help with performance problems