Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 118FCB5DBD1 for ; Tue, 19 Jul 2011 07:19:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 08289-04 for ; Tue, 19 Jul 2011 10:19:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mail.postgresql.org (Postfix) with ESMTP id C3419B5DBCC for ; Tue, 19 Jul 2011 07:19:39 -0300 (ADT) Received: from [192.168.1.7] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Lgc4H-1RChZv3A2f-00naef; Tue, 19 Jul 2011 12:19:39 +0200 Message-ID: <4E255A39.4000304@2ndQuadrant.com> Date: Tue, 19 Jul 2011 06:19:37 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110505 Icedove/3.0.11 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: BBU still needed with SSD? References: <1311047798.93674.YahooMailClassic@web111301.mail.gq1.yahoo.com> In-Reply-To: <1311047798.93674.YahooMailClassic@web111301.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:hgprCPvgvJdk32dPr3pYDDUNsx/i4wl8v0leqzO6YFN IU2G04ooNeHxDu2098Tw5+yqVE4LkMT4p75yhTFr2pWUSm2jPq 7YGvBVlAphFX4kQw6RoevAj5I+I2S0VHOC7IXKLEELu+Fjq04h JLD37aaNP3lNVdM7i3Be85cyKefihxGsHX906WAif58SBHdD7u 0Dm524j9ZIHvxtoYBN7oFGm265l1hwGRB7/z+jqcuk= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201107/189 X-Sequence-Number: 44401 On 07/18/2011 11:56 PM, Andy wrote: > I'm talking about after I get 2 Intel 320s, should I spend the extra > money on a RAID BBU? Adding RAID BBU in this case wouldn't improve > reliability, but does it improve performance? If so, how much > improvement can it bring? It won't improve performance enough that I would bother. The main benefit of adding a RAID with BBU to traditional disks is that you can commit much, much faster to the card RAM than the disks can spin. You can go from 100 commits/second to 10,000 commits/second that way (in theory--actually getting >2000 at the database level is harder). Since the Intel 320 drives can easily hit 2000 to 4000 commits/second on their own, using the cache that's built-in to the drive, the advantage of adding a RAID card on top of that is pretty minimal. Adding a RAID cache will help some, because that layer will be faster than the SSD at absorbing writes, and putting another cache layer into a system always helps with improving burst performance. But you'd probably be better off using the same money to add more RAM, or more/bigger SSD drives. The fundamental thing that RAID BBU units do--speed up commits--you will only see minimal benefit from with these SSDs. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD