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