Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 853CB9FB806 for ; Fri, 2 Mar 2007 17:20:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 09278-01 for ; Fri, 2 Mar 2007 17:20:43 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by postgresql.org (Postfix) with ESMTP id 0CD349FB756 for ; Fri, 2 Mar 2007 17:20:42 -0400 (AST) Received: by wx-out-0506.google.com with SMTP id i28so915195wxd for ; Fri, 02 Mar 2007 13:20:42 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=bVlzBH2d4+V375rYYi5fRqLgFoqHYzXULlZbAnxIKqT6/Na4iBQWZ8j8iutblu0FdJjbbc/Z6o+JqZckJSVd4/IRmXOfG4OTlOkujeWiYJdfYOARXLTMYPB4BHCc0DZgGezU/X9W22Qfp/ZeQqVF73y4pi1IBEF6idzXlIoNAbg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o3NWYyyGTwCAYIEbjyysZ0EO2EH1WvEKWi1PTabfgYEJMlseoJTEv+eAL17EF+3PP8EpKVSPZi7sYrFeakLrrYfbciR/zQRLd07yGBGLwW7MRRY8keuaoxqxCSvHBVmU9PQuEUMlVkavuPQa0flKcl7JmGZ4ltilQQ7YQ/uB3AA= Received: by 10.90.68.15 with SMTP id q15mr3376683aga.1172870441996; Fri, 02 Mar 2007 13:20:41 -0800 (PST) Received: by 10.90.116.10 with HTTP; Fri, 2 Mar 2007 13:20:41 -0800 (PST) Message-ID: Date: Fri, 2 Mar 2007 16:20:41 -0500 From: "Alex Deucher" To: Ron Subject: Re: strange performance regression between 7.4 and 8.1 Cc: pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <82slco6n9t.fsf@mid.bfk.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/70 X-Sequence-Number: 23475 On 3/2/07, Ron wrote: > At 02:43 PM 3/2/2007, Alex Deucher wrote: > >On 3/2/07, Ron wrote: > >> > >>...and I still think looking closely at the actual physical layout of > >>the tables in the SAN is likely to be worth it. > > > >How would I go about doing that? > > > >Alex > > Hard for me to give specific advice when I don't know what SAN > product we are talking about nor what kind of HDs are in it nor how > those HDs are presently configured... > > I quote you in an earlier post: > "The RAID groups on the SAN were set up for maximum capacity rather > than for performance. Using it for the databases just came up recently." > > That implies to me that the SAN is more or less set up as a huge 105 > HD (assuming this number is correct? We all know how "assume" is > spelled...) JBOD or RAID 5 (or 6, or 5*, or 6*) set. > > =IF= that is true, tables are not being given dedicated RAID > groups. That implies that traditional lore like having pg_xlog on > dedicated spindles is being ignored. > Nor is the more general Best Practice of putting the most heavily > used tables onto dedicated spindles being followed. > > In addition, the most space efficient RAID levels: 5* or 6*, are not > the best performing one (RAID 10 striping your mirrors) > > In short, configuring a SAN for maximum capacity is exactly the wrong > thing to do if one is planning to use it in the best way to support > DB performance. > > I assume (there's that word again...) that there is someone in your > organization who understands how the SAN is configured and administered. > You need to talk to them about these issues. > Ah OK. I see what you are saying; thank you for clarifying. Yes, the SAN is configured for maximum capacity; it has large RAID 5 groups. As I said earlier, we never intended to run a DB on the SAN, it just happened to come up, hence the configuration. Alex