Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id BF566159079 for ; Mon, 5 Mar 2012 18:37:55 -0400 (AST) Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S4gXP-00048J-W5 for pgsql-performance@postgresql.org; Mon, 05 Mar 2012 22:37:54 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 12D52321D9 for ; Tue, 6 Mar 2012 11:37:34 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ixRE2oV15vtO for ; Tue, 6 Mar 2012 11:37:33 +1300 (NZDT) Received: from [IPv6:2404:130:0:1000:222:15ff:fe5c:2471] (unknown [IPv6:2404:130:0:1000:222:15ff:fe5c:2471]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id 460BF32161 for ; Tue, 6 Mar 2012 11:37:33 +1300 (NZDT) Message-ID: <4F554025.9040101@catalyst.net.nz> Date: Tue, 06 Mar 2012 11:37:25 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: SSD and RAID Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: 0.8 (/) X-Archive-Number: 201203/59 X-Sequence-Number: 46509 Where I work we are starting to look at using SSDs for database server storage. Despite the higher per unit cost it is quite attractive to replace 6-8 SAS drives in RAID 10 by a pair of SSD in RAID 1 that will probably perform better and use less power. Which brings up the question of should it be a pair in RAID 1 or just a singe drive? Traditionally this would have been a no brainer "Of course you want RAID 1 or RAID 10"! However our experience with SSD failure modes points to firmware bugs as primary source of trouble - and these are likely to impact both drives (nearly) simultaneously in a RAID 1 configuration. Also the other major issue to watch - flash write limit exhaustion - is also likely to hit at the same time for a pair of drives in RAID 1. One option to get around the simultaneous firmware failure is to be to get 2 *similar* drives from different manufactures (e.g OCZ Vertex 32 and Intel 520 - both Sandforce but different firmware setup). However using different manufacturers drives is a pest (e.g different smart codes maintained and/or different meanings for the same codes) What are other folks who are using SSDs doing? Cheers Mark