Re: Create and drop temp table in 8.3.4 - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: Create and drop temp table in 8.3.4
Date
Msg-id 4912EAFF.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to Re: Create and drop temp table in 8.3.4  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Create and drop temp table in 8.3.4  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-performance
>>> "Kevin Grittner" <Kevin.Grittner@wicourts.gov> 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

pgsql-performance by date:

Previous
From: "David Rees"
Date:
Subject: Re: Occasional Slow Commit
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Create and drop temp table in 8.3.4