Re: full_page_writes = off? - Mailing list pgsql-general

From Greg Smith
Subject Re: full_page_writes = off?
Date
Msg-id Pine.GSO.4.64.0712030900070.26647@westnet.com
Whole thread Raw
In response to Re: full_page_writes = off?  (Martin Marques <martin@marquesminen.com.ar>)
List pgsql-general
On Mon, 3 Dec 2007, Martin Marques wrote:

> Out of ignorance, do RAID devices have write cache? I'm talking about
> RAID through hardware.

Depends on the device.  There are hardware RAID cards with cache, and ones
without.  Generally the ones with cache allow you to adjust whether the
cache is used or not ("write-back"=used and "write-through"=unused).  If
you're using it, you should have a battery installed lest the system get
interrupted while data is in the cache (and presumed written by the
database) but not written to disk yet.

Some cards allow you to adjust whether the individual disks utilize their
cache or not.  For database use, if you're using the controller cache to
preserve writes, you should make sure the individual disk caches are
turned off.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-general by date:

Previous
From: "Marko Kreen"
Date:
Subject: Re: pgcrypto functions fail for asymmetric encryption/decryption
Next
From: John Burger
Date:
Subject: Re: Will PG use composite index to enforce foreign keys?