Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFrdz-0006Xp-N6 for pgsql-performance@arkaria.postgresql.org; Wed, 13 Mar 2013 19:47:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UFrdz-0003TX-2V for pgsql-performance@arkaria.postgresql.org; Wed, 13 Mar 2013 19:47:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFrdx-0003TS-M6 for pgsql-performance@postgresql.org; Wed, 13 Mar 2013 19:47:21 +0000 Received: from mail.morefoo.com ([207.99.53.222]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFrdt-00064H-QD for pgsql-performance@postgresql.org; Wed, 13 Mar 2013 19:47:21 +0000 Received: from nac.morefoo.com (mail.morefoo.com [207.99.53.222]) by mail.morefoo.com (Postfix) with ESMTP id 4BB802D4B22; Wed, 13 Mar 2013 15:47:16 -0400 (EDT) X-Virus-Scanned: amavisd-new at morefoo.com Received: from mail.morefoo.com ([207.99.53.222]) by nac.morefoo.com (nac.morefoo.com [207.99.53.222]) (amavisd-new, port 10024) with ESMTP id gYuO72tunLhg; Wed, 13 Mar 2013 15:47:15 -0400 (EDT) Received: from hotlap.sporklab.com (foon.sporktines.com [96.57.144.66]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: css@morefoo.com) by mail.morefoo.com (Postfix) with ESMTPSA id 214612D4807; Wed, 13 Mar 2013 15:47:15 -0400 (EDT) References: <4D6D1410-2208-4DAA-BD64-69BE1FD94E55@autouncle.com> <513CADB7.4030803@2ndQuadrant.com> <51409C51.1070601@kickstone.com> <38D48FB0-92A8-433B-8D34-4C63738B45BA@gmail.com> <5140A623.20005@kickstone.com> <5140D226.4060609@pinpointresearch.com> In-Reply-To: <5140D226.4060609@pinpointresearch.com> Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Message-Id: Content-Transfer-Encoding: quoted-printable Cc: pgsql-performance@postgresql.org From: CSS Subject: Re: New server setup Date: Wed, 13 Mar 2013 15:47:14 -0400 To: Steve Crawford X-Mailer: Apple Mail (2.1085) X-Pg-Spam-Score: -4.3 (----) 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 Mar 13, 2013, at 3:23 PM, Steve Crawford wrote: > On 03/13/2013 09:15 AM, John Lister wrote: >> On 13/03/2013 15:50, Greg Jaskiewicz wrote: >>> SSDs have much shorter life then spinning drives, so what do you do whe= n one inevitably fails in your system ? >> Define much shorter? I accept they have a limited no of writes, but that= depends on load. You can actively monitor the drives "health" level... >=20 > What concerns me more than wear is this: >=20 > InfoWorld Article: > http://www.infoworld.com/t/solid-state-drives/test-your-ssds-or-risk-mass= ive-data-loss-researchers-warn-213715 >=20 > Referenced research paper: > https://www.usenix.org/conference/fast13/understanding-robustness-ssds-un= der-power-fault >=20 > Kind of messes with the "D" in ACID. Have a look at this: http://blog.2ndquadrant.com/intel_ssd_now_off_the_sherr_sh/ I'm not sure what other ssds offer this, but Intel's newest entry will, and= it's attractively priced. Another way we leverage SSDs that can be more reliable in the face of total= SSD meltdown is to use them as ZFS Intent Log caches. All the sync writes= get handled on the SSDs. We deploy them as mirrored vdevs, so if one fail= s, we're OK. If both fail, we're really slow until someone can replace the= m. On modest hardware, I was able to get about 20K TPS out of pgbench with= the SSDs configured as ZIL and 4 10K raptors as the spinny disks. In either case, the amount of money you'd have to spend on the two-dozen or= so SAS drives (and the controllers, enclosure, etc.) that would equal a fe= w pairs of SSDs in random IO performance is non-trivial, even if you plan o= n proactively retiring your SSDs every year. Just another take on the issue.. Charles >=20 > Cheers, > Steve >=20 >=20 >=20 > --=20 > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance