Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 66A55650F47 for ; Thu, 26 Jun 2008 13:32:30 -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 92055-03-4 for ; Thu, 26 Jun 2008 13:32:18 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by postgresql.org (Postfix) with ESMTP id 77CD2650F2F for ; Thu, 26 Jun 2008 13:31:55 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id n4so60968wag.5 for ; Thu, 26 Jun 2008 09:31:53 -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=/qKouN60Mz9dGIi1Q+QEiy/8mYMj9ClzKfQvbbrGTL0=; b=OwonFS/BTh31yju9jht1QggdsaWTOQqb+P54nR5IE82y+CFn/MqKQ4J5xV/g7q2NwU GnVZwQlL/1LsFlPQONEAvw5rFF1XLDdRnY3+JkQe+KmtlemcCPtyyBZl9+/uVv6hKCHs zXbr1+hUdtL3W2YxFRneVmRr3l8KnjObnQgSo= 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=n4fpZ94jZrGndwX8/y8Ev4w3r4FhNskPYboo7HIEQcdTyvBHklIeNZVDKK0Z3Faseu mhvF1d3fcqMxUCiR1ntI4y+Z+h0UjY4i+ImTs8AAkoscGlcoAqs3V56V40rc+RQhUOHr ZTIik4ZyBFa7IlFxZGlPv+ti4j754Hvxy18H4= Received: by 10.114.205.1 with SMTP id c1mr180166wag.56.1214497913049; Thu, 26 Jun 2008 09:31:53 -0700 (PDT) Received: by 10.114.180.17 with HTTP; Thu, 26 Jun 2008 09:31:52 -0700 (PDT) Message-ID: Date: Thu, 26 Jun 2008 10:31:52 -0600 From: "Scott Marlowe" 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/177 X-Sequence-Number: 30527 On Thu, Jun 26, 2008 at 10:14 AM, Matthew Wakeling wrote: > On Thu, 26 Jun 2008, Vivek Khera wrote: >>> >>> Anyone have experience with IDE, SATA, or SAS-connected flash devices >>> like the Samsung MCBQE32G5MPP-0VA? I mean, it seems lovely - 32GB, at a >>> transfer rate of 100MB/s, and doesn't degrade much in performance when >>> writing small random blocks. But what's it actually like, and is it >>> reliable? >> >> 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? What's mainly happened is a great increase in storage capacity has allowed flash based devices to spread their writes out over so many cells that the time it takes to overwrite all the cells enough to get dead ones is measured in much longer intervals. Instead of dieing in weeks or months, they'll now die, for most work loads, in years or more. However, I've tested a few less expensive solid state storage and for some transactional loads it was much faster, but then for things like report queries scanning whole tables they were factors slower than a sw RAID-10 array of just 4 spinning disks. But pg_bench was quite snappy using the solid state storage for pg_xlog.