Re: Simulating WAL on separate disks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Guy Rouillier" <guyr(at)masergy(dot)com>
Cc: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Simulating WAL on separate disks
Date: 2005-01-10 23:46:42
Message-ID: 9972.1105400802@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Guy Rouillier" <guyr(at)masergy(dot)com> writes:
> We are soon to be doing performance testing. Our testing environment
> contains 4 SCSI disks in a RAID5 configuration, while our production
> environment will have 6 SCSI disks, which I'm suggesting we allocate as
> 4 in RAID5 for data and 2 in RAID1 for WAL.

> Because we don't have separate disks for WAL in our test environment,
> I'd like to minimize the effect of WAL. I've read the sections in both
> the tuning guide and the base documentation, and I'm still a little
> unclear about fsync and wal_sync_method. If I set fsync FALSE, does
> this disable WAL entirely?

No, but in any case it would entirely invalidate any performance testing
you might do. fsync off is a completely different regime of operation
(unless perhaps you have hardly any updates).

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-01-10 23:47:16 Re: Function for retreiving datatype
Previous Message Jamie Deppeler 2005-01-10 23:42:25 Re: PostgreSQL 8 on windows very slow