X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ED8E3D8E94 for ; Wed, 14 Sep 2005 15:28:52 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11639-06 for ; Wed, 14 Sep 2005 18:28:49 +0000 (GMT) Received: from gghcwest.com (adsl-71-128-90-172.dsl.pltn13.pacbell.net [71.128.90.172]) by svr1.postgresql.org (Postfix) with ESMTP id 3C765D81F7 for ; Wed, 14 Sep 2005 15:28:48 -0300 (ADT) Received: from toonses.gghcwest.com (toonses.gghcwest.com [192.168.168.115]) by gghcwest.com (8.12.10/8.12.9) with ESMTP id j8EISgmd018948; Wed, 14 Sep 2005 11:28:43 -0700 Received: from jwb by toonses.gghcwest.com with local (Exim 4.52) id 1EFbzv-0007Jg-SA; Wed, 14 Sep 2005 11:28:43 -0700 Subject: Re: Battery Backed Cache for RAID From: "Jeffrey W. Baker" To: Peter Darley Cc: Pgsql-Performance In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 14 Sep 2005 11:28:43 -0700 Message-Id: <1126722523.27650.6.camel@toonses.gghcwest.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=-0.618 required=5 tests=[AWL=-0.668, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/191 X-Sequence-Number: 14499 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