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 CE849D8F11 for ; Wed, 14 Sep 2005 18:58:31 -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 54722-05 for ; Wed, 14 Sep 2005 21:58:25 +0000 (GMT) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by svr1.postgresql.org (Postfix) with ESMTP id 384A2D8AB2 for ; Wed, 14 Sep 2005 18:58:25 -0300 (ADT) Received: (from www@localhost) by mail0.rawbw.com (8.11.6p2/8.11.6) id j8ELwS117329 for pgsql-performance@postgresql.org; Wed, 14 Sep 2005 14:58:28 -0700 (PDT) Received: from cybs-gw.ic3.com (cybs-gw.ic3.com [66.185.177.10]) by webmail.rawbw.com (IMP) with HTTP for ; Wed, 14 Sep 2005 14:58:28 -0700 Message-ID: <1126735108.43289d040898d@webmail.rawbw.com> Date: Wed, 14 Sep 2005 14:58:28 -0700 From: mudfoot@rawbw.com To: pgsql-performance@postgresql.org Subject: Re: Battery Backed Cache for RAID References: <1126722523.27650.6.camel@toonses.gghcwest.com> <20050914200324.GB26714@surnet.cl> <43288C67.3000209@tweakers.net> In-Reply-To: <43288C67.3000209@tweakers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 66.185.177.10 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 required=5 tests=[AWL=0.000, NO_REAL_NAME=0.178] X-Spam-Level: X-Archive-Number: 200509/197 X-Sequence-Number: 14505 Bear in mind you will lose data if the raid controller itself fails (or the cache memory module). Many solutions have mirrored cache for this reason. But that's more $$, depending on the risks you want to take. Quoting Arjen van der Meijden : > On 14-9-2005 22:03, 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: > >> > >>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? > > For the LSI-Logic MegaRaid 320-2e its about 72 hours for the standard > 128MB version. Their SATA2-solution offers 32 and 72 hour-options. So I > assume its "in the order of days" for most RAID controllers. > > Best regards, > > Arjen van der Meijden > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend >