Re: full_page_writes = off?

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Martin Marques <martin(at)marquesminen(dot)com(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: full_page_writes = off?
Date: 2007-12-03 14:04:31
Message-ID: Pine.GSO.4.64.0712030900070.26647@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Albert Cervera i Areny 2007-12-03 14:42:54 Re: About contrib modules
Previous Message Martin Marques 2007-12-03 12:15:59 Re: full_page_writes = off?

Browse pgsql-general by date

  From Date Subject
Next Message John Burger 2007-12-03 14:08:49 Re: Will PG use composite index to enforce foreign keys?
Previous Message Marko Kreen 2007-12-03 13:27:11 Re: pgcrypto functions fail for asymmetric encryption/decryption