Raid Controller Write Cache setting for WAL and Data

From: Piotr Gasidło <quaker(at)barbara(dot)eu(dot)org>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Raid Controller Write Cache setting for WAL and Data
Date: 2011-02-16 15:40:43
Message-ID: AANLkTi=o4USGgVytyCcTYU4bZ=VsbYzV0RQcu_WwESLP@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Is it safe, to have RAID controller (not BBC) write cache _enabled_
for disks where data are stored and write cache _disabled_ for disks
where WAL segments are stored?
I _can_ afford of loosing some data in case of power failure. But I'm
afraid of having database in unrecoverable state after crash.

fsync = on

I have 4 disks, 2 for WAL (RAID1) and 2 for data (RAID1). WAL and data
are on XFS partitions (nobarrier, noatime).

--
Piotr Gasidło

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2011-02-16 16:30:34 Re: disable triggers using psql
Previous Message pasman pasmański 2011-02-16 15:12:56 Re: help understanding explain output