Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TivhU-0001fl-7O for pgsql-performance@arkaria.postgresql.org; Wed, 12 Dec 2012 23:26:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TivhT-0008Jp-EA for pgsql-performance@arkaria.postgresql.org; Wed, 12 Dec 2012 23:26:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TivhS-0008JX-91 for pgsql-performance@postgresql.org; Wed, 12 Dec 2012 23:26:50 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TivhP-00089m-J1 for pgsql-performance@postgresql.org; Wed, 12 Dec 2012 23:26:49 +0000 Received: from [10.1.1.3] (124-169-225-8.dyn.iinet.net.au [124.169.225.8]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LblNw-1TJo502GhA-00jC9i; Thu, 13 Dec 2012 00:26:45 +0100 Message-ID: <50C912AC.8070502@2ndquadrant.com> Date: Thu, 13 Dec 2012 07:26:36 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: =?windows-1252?Q?Niels_Kristian_Schj=F8dt?= CC: Evgeny Shishkin , Jeff Janes , "pgsql-performance@postgresql.org" Subject: Re: Do I have a hardware or a software problem? References: <8F7661E7-D6D4-4334-8C6A-A8B6C56A2C3F@autouncle.com> <50C7351C.30407@2ndQuadrant.com> <4507A68A-3CD5-4283-AFA5-1C0593427E14@autouncle.com> <67FBF3AF-5C6A-45D4-9206-7257C8C01C5E@gmail.com> <50C7D7D2.4070605@2ndQuadrant.com> <2BCB6843-1396-42C9-A5BF-21C7C978FF4B@gmail.com> <50C7DDDE.1000000@2ndQuadrant.com> <3ADBD9A3-966F-40E8-AF78-0F2093D79BEE@gmail.com> <50C7E598.2070902@2ndQuadrant.com> <8A08ED7E-CF78-4F40-ACF1-1C87CEBBD00A@gmail.com> <50C7F057.70309@2ndQuadrant.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------010901060601040903030900" X-Provags-ID: V02:K0:QntQBjlI6veiLE0QFbwjx55obmWU1MHCFnZRltEeePU NaQ4g5IUgel3Pb4mD+AOjb+9WOxiiSZC+21ghQkqtbsqu75ziA d9WUcdEV1WM3EZQBC8sjc1gcOgxdpytYOogTj5th2pkS2ntErG ba0uPGz2+SiTuDK0bGs736FJVBN0WUBafp1vXSGFsjcpYnxFTV 6MJQ/TNechtDni5Qeq5DDkfFgG6nc3D7moElH2DiAujwmpqlH+ e+HMI2+SOdka4+ruWdlt59RzY/wfWJz7dwR5kzMlzH6RvMFqPQ V/kdaTvNy7RDyCz9MWfSGt3LmYnJn7Gl5/ot5PzqOlMDdn7hYW cupiC6Jy7GndPn4qcy+s= 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 This is a multi-part message in MIME format. --------------010901060601040903030900 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit On 13/12/2012 12:22 AM, Niels Kristian Schjødt wrote: > Well, In fact I do (as you can see from my configuration). I have a > similar server running with hot standby replication - and it runs two > 3T HDD in a RAID1 array. > > So - is it still very bad if I choose to put four intel 520 disks in a > RAID10 array on the other production server? So long as you have it recording to a synchronous replia on another machine and you're fully prepared to accept the small risk that you'll have total and unrecoverable data corruption on that server, with the corresponding downtime while you rebuild it from the replica, it should be OK. Alternately, you could use PITR with a basebackup to ship WAL to another machine or a reliable HDD, so you can recover all but the last checkpoint_timeout minutes of data from the base backup + WAL. There's small window of data loss that way, but you don't need a second machine as a streaming replication follower. barman might is worth checking out as a management tool for PITR backups. If the data is fairly low-value you could even just take nightly backups and accept the risk of losing some data. -- Craig Ringer --------------010901060601040903030900 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit
On 13/12/2012 12:22 AM, Niels Kristian Schjødt wrote:
Well, In fact I do (as you can see from my configuration). I have a similar server running with hot standby replication - and it runs two 3T HDD in a RAID1 array.

So - is it still very bad if I choose to put four intel 520 disks in a RAID10 array on the other production server?
So long as you have it recording to a synchronous replia on another machine and you're fully prepared to accept the small risk that you'll have total and unrecoverable data corruption on that server, with the corresponding downtime while you rebuild it from the replica, it should be OK.

Alternately, you could use PITR with a basebackup to ship WAL to another machine or a reliable HDD, so you can recover all but the last checkpoint_timeout minutes of data from the base backup + WAL. There's small window of data loss that way, but you don't need a second machine as a streaming replication follower. barman might is worth checking out as a management tool for PITR backups.

If the data is fairly low-value you could even just take nightly backups and accept the risk of losing some data.

--
Craig Ringer
--------------010901060601040903030900--