Re: Disabling WAL for bulk data loads

Поиск
Список
Период
Сортировка
От William Yu
Тема Re: Disabling WAL for bulk data loads
Дата
Msg-id 43286567.6040204@talisys.com
обсуждение исходный текст
Ответ на Re: Disabling WAL for bulk data loads  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom Lane wrote:
> William Yu <wyu@talisys.com> writes:
>
>>If you have enough memory, you can always make a ramdisk to store the
>>WAL temporarily while you bulk load data. I also temporarily alter the
>>config to set checkpoint_segments = 1 to use as few pg_xlog files as
>>possible.
>
>
> Really?  That seems pretty counterproductive to me.  I've never seen
> a case where reducing checkpoint_segments increased performance.
> Checkpoints are expensive, and usually you want 'em far apart.

Just poor grammar on my part. I meant decreasing checkpoint_segments
when using a ramdisk for WAL in order to keep Postgres from croaking on
lack of disk space for pg_xlog.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Disabling WAL for bulk data loads
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: