Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 07B4364FE05 for ; Thu, 6 Nov 2008 15:03:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21522-09 for ; Thu, 6 Nov 2008 15:03:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 3AFDE64FE0F for ; Thu, 6 Nov 2008 15:03:08 -0400 (AST) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Thu, 06 Nov 2008 13:03:07 -0600 Message-Id: <4912EAFF.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Thu, 06 Nov 2008 13:02:55 -0600 From: "Kevin Grittner" To: Subject: Re: Create and drop temp table in 8.3.4 References: <4911957A.EE98.0025.0@wicourts.gov> <4911D4DB.EE98.0025.0@wicourts.gov> In-Reply-To: <4911D4DB.EE98.0025.0@wicourts.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archive-Number: 200811/34 X-Sequence-Number: 31765 >>> "Kevin Grittner" wrote: > If I find a particular tweak to the background writer or some such is > particularly beneficial, I'll post again. It turns out that it was not the PostgreSQL version which was primarily responsible for the performance difference. We updated the kernel at the same time we rolled out 8.3.4, and the new kernel defaulted to using write barriers, while the old kernel didn't. Since we have a BBU RAID controller, we will add nobarrier to the fstab entries. This makes file creation and unlink each about 20 times faster. -Kevin