Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UeGUN-0000wh-3i for pgsql-performance@arkaria.postgresql.org; Mon, 20 May 2013 03:10:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UeGUM-0004iI-ED for pgsql-performance@arkaria.postgresql.org; Mon, 20 May 2013 03:10:18 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UeGUL-0004iD-JU for pgsql-performance@postgresql.org; Mon, 20 May 2013 03:10:17 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UeGUF-0001cm-CY for pgsql-performance@postgresql.org; Mon, 20 May 2013 03:10:17 +0000 Received: from [192.168.1.110] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0LhvGc-1U9top3dPW-00n78w; Mon, 20 May 2013 05:10:10 +0200 Message-ID: <51999410.2020600@2ndQuadrant.com> Date: Sun, 19 May 2013 23:10:08 -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: Cuong Hoang CC: Jeff Janes , Merlin Moncure , "pgsql-performance@postgresql.org" Subject: Re: Reliability with RAID 10 SSD and Streaming Replication References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:UKpOV9ULKjSbj8m15CAkROSb9XOkRLZHg9qw0FJPrI6 KDn4pXxV7wDpQzU4uEWNtKkCrLsiKMZ0iupGyiqX5HSmGCxBYR PsdigVmt36q4mUpeUZzDrost366unTRXt5sTzh1n5XUv0cTZir cpr/2neEWNa3OaI7x1YKosbsT6oTKd0NLedtENCxEkv6odbrpH l9151aEET5Su4zpI80B/d91x3pwyRwIkPuTpsG1eEcOQGEJmSH d/dIIygx/l6XejMsa6DU6ZU9FJRcKwQFJehJcrwGXkTDDuwWM2 PhykAW7NW1l462Q/TTaxoQpGv7VjLwfVlkyWxMAQb1plO/+tfu tswAvnqG8XAjptB4Gkos= X-Pg-Spam-Score: 0.8 (/) 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 7:52 PM, Cuong Hoang wrote: > The standby host will be disk-based so it > will be less vulnerable to power loss. If it can keep up with replay from the faster master, that sounds like a decent backup. Make sure you setup all write caches very carefully on that system, because it's going to be your best hope to come back up quickly after a real crash. Any vendor that pushes Samsung 840 drives for database use should be ashamed of themselves. Those drives are turning into the new incarnation of what we saw with the Intel X25-E/X-25-M: they're very popular, but any system built with them will corrupt itself on the first failure. I expect to see a new spike in people needing data recovery help after losing their Samsung 840 based servers start soon. > I forgot to mention that we'll set up Wal-e > to ship base backups and WALs to Amazon > S3 continuous as another safety measure. Again, the lost of a few WALs > would not be a big issue for us. That's a useful plan. Just make sure you ship new base backups fairly often. If you have to fall back to that copy of the data, you'll need to replay anything that's happened since the last base backup happened. That can easily result in a week of downtime if you're only shipping backups once per month, for example. -- 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