Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id D0FF32E00BD for ; Tue, 13 May 2008 09:10:28 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 24306-01-6 for ; Tue, 13 May 2008 09:10:13 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by developer.postgresql.org (Postfix) with ESMTP id 1DE4F2E006F for ; Tue, 13 May 2008 09:07:25 -0300 (ADT) Received: by fg-out-1718.google.com with SMTP id 16so3049940fgg.23 for ; Tue, 13 May 2008 05:07:22 -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=BuUuB/HlgCka1ygqLmiM8TRQue8ggBKBBkN0ebNkXJM=; b=byhlXLu3N9CT+5BAKEK4z801+4rH0Y7FJx7nXKjij1uVbDXfCf4Xvd+INteK/iYy3O6cQFYJxQWdRv+v30AjtMB2SamHjC80mPdgFb5DqWDM3DmXU6/rhT8Y/8Xc30bgphwn75sZYdm9LGE5tzp6L+Iv/UEqTr3wg2bE07yjR+0= 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=CzmCnWPLDzZKJ0BCp68svR4/eQx/ABxeyHQQ2ONFYfHGG5xHjROmWlwiVCNddKf2YZCS0gs1oxrGyGzvFJhvoEZNIeaADSlYCW9ib0xlHUK6tduvKyAQPfBRtu6PazmphGpUFhwEjVSQu+fBBbjdd3JWwXvhP38c0v+GiEv8TlU= Received: by 10.82.175.17 with SMTP id x17mr965015bue.0.1210680442174; Tue, 13 May 2008 05:07:22 -0700 (PDT) Received: by 10.82.145.1 with HTTP; Tue, 13 May 2008 05:07:22 -0700 (PDT) Message-ID: Date: Tue, 13 May 2008 08:07:22 -0400 From: "Merlin Moncure" To: "Francisco Reyes" Subject: Re: RAID controllers for Postgresql on large setups Cc: PFC , "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: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/162 X-Sequence-Number: 30130 On Tue, May 13, 2008 at 8:00 AM, Francisco Reyes wrote: > PFC writes: > > > > You say that like you don't mind having PCI in a server whose job > is to perform massive query over large data sets. > > > > I am in my 4th week at a new job. Trying to figure what I am working with. > From what I see I will likely get as much improvement from new hardware as > from re-doing some of the database design. Can't get everything done at > once, not to mention I have to redo one machine sooner rather than later so > I need to prioritize. > > > > > In fact for bulk IO a box with 2 SATA drives would be just as fast as > your monster RAID, lol. > > > > I am working on setting up a standard test based on the type of operations > that the company does. This will give me a beter idea. Specially I will work > with the developers to make sure the queries I create for the benchmark are > representative of the workload. > > > > > Adding more drives will help random reads/writes but do nothing for > throughput since the tiny PCI pipe is choking. > > > > Understood, but right now I have to use the hardware they already have. > Just trying to make the most of it. I believe another server is due in some > months so then I can better plan. > > In your opinion if we get a new machine with PCI-e, at how many spindles > will the SCSI random access superiority start to be less notable? Specially > given the low number of connections we usually have running against these > machines. > > > > > However RAID5 will choke and burn on small random writes, which > will come from UPDATing random rows in a large table, updating indexes, > etc. Since you are doing this apparently, RAID5 is therefore NOT advised ! > > > > I thought I read a while back in this list that as the number of drives > increased that RAID 5 was less bad. Say an external enclosure with 20+ > drives. maybe, but I don't think very many people run that many drives in a raid 5 configuration...too dangerous. with 20 drives in a single volume, you need to be running raid 10 or raid 6. 20 drive raid 50 is pushing it as well..I'd at least want a hot spare. merlin