From: Greg Smith <gsmith@gregsmith.com>
To: Martin Marques <martin@marquesminen.com.ar>
Cc: pgsql-general@postgresql.org
Subject: Re: full_page_writes = off?
Date: Mon, 3 Dec 2007 09:04:31 -0500 (EST)
Message-ID: <Pine.GSO.4.64.0712030900070.26647@westnet.com> (raw)
In-Reply-To: <4753F37F.6050105@marquesminen.com.ar>
References: <4751150F.8080604@mail.ru>
<20071201114754.GA2552@batory.org.pl>
<47514DDC.70607@marquesminen.com.ar>
<20071201121601.GB2552@batory.org.pl>
<Pine.GSO.4.64.0712021528290.2007@westnet.com>
<4753F37F.6050105@marquesminen.com.ar>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: gsmith@gregsmith.com, martin@marquesminen.com.ar, pgsql-general@postgresql.org
Subject: Re: full_page_writes = off?
In-Reply-To: <Pine.GSO.4.64.0712030900070.26647@westnet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox