Re: Battery Backed Cache for RAID

From: "Jeffrey W(dot) Baker" <jwbaker(at)acm(dot)org>
To: Peter Darley <pdarley(at)kinesis-cem(dot)com>
Cc: Pgsql-Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Battery Backed Cache for RAID
Date: 2005-09-14 18:28:43
Message-ID: 1126722523.27650.6.camel@toonses.gghcwest.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

> My question is, if the power goes off, and the drives stop, how does the
> battery backed cache save things out to the dead drives? Is there another
> component that is implied that will provide power to the drives that I
> should be looking into as well?

A UPS would allow you to do an orderly shutdown and write contents to
disk during a power failure. However a UPS can be an extra point of
failure.

-jwb

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alvaro Herrera 2005-09-14 20:03:24 Re: Battery Backed Cache for RAID
Previous Message Peter Darley 2005-09-14 18:25:38 Battery Backed Cache for RAID