pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John A Meinel <john@arbash-meinel.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Jeffrey W. Baker <jwbaker@acm.org>
Cc: Peter Darley <pdarley@kinesis-cem.com>
Cc: Pgsql-Performance <pgsql-performance@postgresql.org>
Subject: Re: Battery Backed Cache for RAID
Date: Wed, 14 Sep 2005 16:40:25 -0400
Message-ID: <43288AB9.4000204@arbash-meinel.com> (raw)
In-Reply-To: <20050914200324.GB26714@surnet.cl>
References: <PDEOIIFFBIAABMGNJAGPAELFDOAA.pdarley@kinesis-cem.com>
	<1126722523.27650.6.camel@toonses.gghcwest.com>
	<20050914200324.GB26714@surnet.cl>

Alvaro Herrera wrote:
> On Wed, Sep 14, 2005 at 11:28:43AM -0700, Jeffrey W. Baker wrote:
>
>>On Wed, 2005-09-14 at 11:25 -0700, Peter Darley wrote:
>>
>>>	I'm getting a new server for our database, and I have a quick question
>>>about RAID controllers with a battery backed cache.  I understand that the
>>>cache will allow the cache to be written out if the power fails to the box,
>>>which allows it to report a write as committed safely when it's not actually
>>>committed.
>>
>>Actually the cache will just hold its contents while the power is out.
>>When the power is restored, the RAID controller will complete the writes
>>to disk.  If the battery does not last through the outage, the data is
>>lost.
>
>
> Just curious: how long are the batteries supposed to last?
>

The recent *cheap* version of a ramdisk had battery backup for 16 hours.
(Very expensive ramdisks actually have enough battery power to power a
small hard-drive to dump the contents into).

I'm guessing for a RAID controller, the time would be in the max 1 day
range.

John
=:->

Attachments:

  signature.asc (application/pgp-signature, 252B) download

view thread (8+ messages)  latest in thread

Message-ID: <43288AB9.4000204@arbash-meinel.com>
Permalink:  ../43288AB9.4000204@arbash-meinel.com/
Also on:    postgresql.org/message-id/43288AB9.4000204@arbash-meinel.com

 · 

reply

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-performance@postgresql.org
  Cc: john@arbash-meinel.com, alvherre@alvh.no-ip.org, jwbaker@acm.org, pdarley@kinesis-cem.com
  Subject: Re: Battery Backed Cache for RAID
  In-Reply-To: <43288AB9.4000204@arbash-meinel.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