Re: Disabling WAL for bulk data loads
| От | Tom Lane |
|---|---|
| Тема | Re: Disabling WAL for bulk data loads |
| Дата | |
| Msg-id | 6159.1126720694@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Disabling WAL for bulk data loads (William Yu <wyu@talisys.com>) |
| Ответы |
Re: Disabling WAL for bulk data loads
|
| Список | pgsql-admin |
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.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
В списке pgsql-admin по дате отправления: