Turn off Wal for bulk loaf input

Поиск
Список
Период
Сортировка
От Martin Hampl
Тема Turn off Wal for bulk loaf input
Дата
Msg-id 23540.1085913014@www41.gmx.net
обсуждение исходный текст
Список pgsql-novice
Hi,

I am sorry if this question has been asked before hundreds of times, but I
couldn't find an answer in the archive.

I want to bulk load several GBs of data to an empty table. My concerns are
time and disk space, mainly time. I don't care about transactions (for this
particular purpose) if I can save any time on the input.

I thought I read somewhere that setting fsync to "off" does prevent wal,
however, it does not seems so.

What wal settings result in optimal performance (not caring about disk
space)? I set checkpoint_timeout to 3600 and checkpoint_segments to 1000,
but I am not sure I completely understand what the consequences are :)

Regards,
Martin

--
+++ Jetzt WLAN-Router f�r alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl


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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: Copy from problem
Следующее
От: "Derrick Betts"
Дата:
Сообщение: Dynamic Array into pl/pgSQL function