Re: Disabling WAL for bulk data loads - Mailing list pgsql-admin

From Tom Lane
Subject Re: Disabling WAL for bulk data loads
Date
Msg-id 6159.1126720694@sss.pgh.pa.us
Whole thread Raw
In response to Re: Disabling WAL for bulk data loads  (William Yu <wyu@talisys.com>)
Responses Re: Disabling WAL for bulk data loads
List 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 by date:

Previous
From: William Yu
Date:
Subject: Re: Disabling WAL for bulk data loads
Next
From: William Yu
Date:
Subject: Re: Disabling WAL for bulk data loads