Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UeGLZ-0000VC-Sn for pgsql-performance@arkaria.postgresql.org; Mon, 20 May 2013 03:01:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UeGLZ-00034R-4B for pgsql-performance@arkaria.postgresql.org; Mon, 20 May 2013 03:01:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UeGLY-00034M-Dj for pgsql-performance@postgresql.org; Mon, 20 May 2013 03:01:12 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UeGLR-0001Ue-Jz for pgsql-performance@postgresql.org; Mon, 20 May 2013 03:01:12 +0000 Received: from [192.168.1.110] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LwBgI-1UQTZq2gMI-0185j7; Mon, 20 May 2013 05:01:01 +0200 Message-ID: <519991EB.8010208@2ndQuadrant.com> Date: Sun, 19 May 2013 23:00:59 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Tomas Vondra CC: pgsql-performance@postgresql.org Subject: Re: Reliability with RAID 10 SSD and Streaming Replication References: <51957499.6050905@fuzzy.cz> In-Reply-To: <51957499.6050905@fuzzy.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:Z4/lOMgO7SHVqVHAQGlCZ4+jTEEmhVyei9AusO2N40u Zv6SBXvwBp7LFfViIeGJmML2nO9M9JTBdIkNGu1j8i+Uj58TrM Hq9ahljsfqJXwGtrX0LtQFC5TwAwd+VLJ/nekvK19LR7xYp4BW f8RROG/TU+Al84VkTGRFCfLwKW9Qw+Ff8Y68iYSDIrTQEgdB6n xkoESWUyLO0risNHZZvP2mLu3ij5HijD82RLvZnlkqKh8DGroS WIGlzQPO2Q0JQOs7DH2gLMHG50hbmNYI/ng3NdtJEBJNRq2nwu 7wVXJ7onV26FXdGQZf0WbPmZx34nZdjB2mEIfbcUTbZdthJhe0 /L7jNUO4xjIr0cz7Qlb0= X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 5/16/13 8:06 PM, Tomas Vondra wrote: > Have you considered using a UPS? That would make the SSDs about as > reliable as SATA/SAS drives - the UPS may fail, but so may a BBU unit on > the SAS controller. That's not true at all. Any decent RAID controller will have an option to stop write-back caching when the battery is bad. Things will slow badly when that happens, but there is zero data risk from a short-term BBU failure. The only serious risk with a good BBU setup are that you'll have a power failure lasting so long that the battery runs down before the cache can be flushed to disk. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance