Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1A73B650EE7 for ; Thu, 26 Jun 2008 14:35:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 63894-02 for ; Thu, 26 Jun 2008 14:35:13 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by postgresql.org (Postfix) with ESMTP id 87C71650EE5 for ; Thu, 26 Jun 2008 14:35:12 -0300 (ADT) Received: by fk-out-0910.google.com with SMTP id e30so134582fke.3 for ; Thu, 26 Jun 2008 10:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FUKJ/rXkThH+b1GI2pfxZtSNRlelin5IIw0Ilrgoym4=; b=Fdb1q6Tk9qNevC+FWQ1xRVN+xg9eelE5rr6Dy4+OLh3CJZYM7loIIZSri9pa1CDQNM VTi7bOOv/CYGCvKaFRY4yn0g0M+RLPvI3C+nq+ceADn4QscgnmehhTcnf5UlE/lrdz6+ rwFTySOfzu7DsTuXxWRcr235QuR5zSw/wWJo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BZcMV75fZ+cQD6ZFAWET7ZB6A3GTCbKpFLoR+TLhFp3SuN2Y526JSottuucNejEKDM SxMWRxO6k9MKg8LXD4ojtJ/NOdPq01O8YVplwlR68JWOxYx6UR/ECCPqafkG3xdeMxX6 kpn4umbugaCO9N26/tAQobcta0ygrsVvtnzOY= Received: by 10.82.186.19 with SMTP id j19mr7600buf.60.1214501709722; Thu, 26 Jun 2008 10:35:09 -0700 (PDT) Received: by 10.82.147.4 with HTTP; Thu, 26 Jun 2008 10:35:09 -0700 (PDT) Message-ID: Date: Thu, 26 Jun 2008 13:35:09 -0400 From: "Merlin Moncure" To: "Matthew Wakeling" Subject: Re: Hardware vs Software RAID Cc: "Vivek Khera" , "Pgsql performance" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806251311.m5PDBNv23559@inv.it.uc3m.es> <97454AF8-315A-4B3D-8F95-D96B190C6909@khera.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/179 X-Sequence-Number: 30529 On Thu, Jun 26, 2008 at 12:14 PM, Matthew Wakeling wrote: >> None of these manufacturers rates these drives for massive amounts of >> writes. They're sold as suitable for laptop/desktop use, which normally is >> not a heavy wear and tear operation like a DB. Once they claim suitability >> for this purpose, be sure that I and a lot of others will dive into it to >> see how well it really works. Until then, it will just be an expensive >> brick-making experiment, I'm sure. > > It claims a MTBF of 2,000,000 hours, but no further reliability information > seems forthcoming. I thought the idea that flash couldn't cope with many > writes was no longer true these days? Flash and disks have completely different failure modes, and you can't do apples to apples MTBF comparisons. In addition there are many different types of flash (MLC/SLC) and the flash cells themselves can be organized in particular ways involving various trade-offs. The best flash drives combined with smart wear leveling are anecdotally believed to provide lifetimes that are good enough to warrant use in high duty server environments. The main issue is lousy random write performance that basically makes them useless for any kind of OLTP operation. There are a couple of software (hacks?) out there which may address this problem if the technology doesn't get there first. If the random write problem were solved, a single ssd would provide the equivalent of a stack of 15k disks in a raid 10. see: http://www.bigdbahead.com/?p=44 http://feedblog.org/2008/01/30/24-hours-with-an-ssd-and-mysql/ merlin