Re: Create and drop temp table in 8.3.4

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Create and drop temp table in 8.3.4
Date: 2008-11-06 19:02:55
Message-ID: 4912EAFF.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

>>> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2008-11-06 19:17:51 Re: Create and drop temp table in 8.3.4
Previous Message David Rees 2008-11-06 18:46:56 Re: Occasional Slow Commit