Re: Disabling WAL for bulk data loads

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: William Yu <wyu(at)talisys(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Disabling WAL for bulk data loads
Date: 2005-09-14 17:58:14
Message-ID: 6159.1126720694@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

William Yu <wyu(at)talisys(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message William Yu 2005-09-14 18:01:11 Re: Disabling WAL for bulk data loads
Previous Message William Yu 2005-09-14 16:47:54 Re: Disabling WAL for bulk data loads