From: Thomas Spreng <spreng@socket.ch>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Oddly slow queries
Date: Sat, 26 Apr 2008 16:12:39 +0200
Message-ID: <89819E8B-83D8-43B9-80A3-1DDC3320BEE1@socket.ch> (raw)
In-Reply-To: <dcc563d10804220825j592cb3fdtf0d977dcf4e51312@mail.gmail.com>
References: <3D7728ED-3D36-47E6-9266-351073ED4E11@socket.ch>
<op.t9odybcgcigqcu@apollo13.peufeu.com>
<AE4F81FF-C8BE-44BC-A79D-48EC5BF20162@socket.ch>
<60y77du7qs.fsf@dba2.int.libertyrms.com>
<20B852C4-2ACA-445F-9289-558B6C86BAB4@socket.ch>
<87mynp3h3q.fsf@wolfe.cbbrowne.com>
<7A2BA520-ED19-418F-9339-95C7F7158664@socket.ch>
<dcc563d10804220825j592cb3fdtf0d977dcf4e51312@mail.gmail.com>
On 22.04.2008, at 17:25, Scott Marlowe wrote:
> On Tue, Apr 22, 2008 at 7:42 AM, Thomas Spreng <spreng@socket.ch>
> wrote:
>>
>> I think I'll upgrade PostgreSQL to the latest 8.3 version in the next
>> few days anyway, along with a memory upgrade (from 1.5GB to 4GB)
>> and a
>> new 2x RAID-1 (instead of RAID-5) disk configuration. I hope that
>> this
>> has already a noticeable impact on the performance.
>
> Note that if you have a good RAID controller with battery backed cache
> and write back enabled, then you're probably better or / at least as
> well off using four disks in a RAID-10 than two separate RAID-1 sets
> (one for xlog and one for data).
I just wanted to let you know that upgrading Postgres from 8.1 to 8.3,
RAM from 1.5GB to 4GB and changing from a 3 disk RAID5 to 2x RAID1 (OS &
WAL, Tablespace) led to a significant speed increase. What's especially
important is that those randomly slow queries seem to be gone (for now).
Thanks for all the help.
Cheers,
Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: spreng@socket.ch, scott.marlowe@gmail.com
Subject: Re: Oddly slow queries
In-Reply-To: <89819E8B-83D8-43B9-80A3-1DDC3320BEE1@socket.ch>
References: <3D7728ED-3D36-47E6-9266-351073ED4E11@socket.ch> <op.t9odybcgcigqcu@apollo13.peufeu.com> <AE4F81FF-C8BE-44BC-A79D-48EC5BF20162@socket.ch> <60y77du7qs.fsf@dba2.int.libertyrms.com> <20B852C4-2ACA-445F-9289-558B6C86BAB4@socket.ch> <87mynp3h3q.fsf@wolfe.cbbrowne.com> <7A2BA520-ED19-418F-9339-95C7F7158664@socket.ch> <dcc563d10804220825j592cb3fdtf0d977dcf4e51312@mail.gmail.com> <89819E8B-83D8-43B9-80A3-1DDC3320BEE1@socket.ch>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox