Re: Postgres on RAID5

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Alex Turner" <armtuk(at)gmail(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>, "Arshavir Grigorian" <ag(at)m-cam(dot)com>
Subject: Re: Postgres on RAID5
Date: 2005-03-14 21:18:00
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3412A763F@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Alex Turner wrote:
> 35 Trans/sec is pretty slow, particularly if they are only one row at
> a time. I typicaly get 200-400/sec on our DB server on a bad day. Up
> to 1100 on a fresh database.

Well, don't rule out that his raid controller is not caching his writes.
His WAL sync method may be overriding his raid cache policy and flushing
his writes to disk, always. Win32 has the same problem, and before
Magnus's O_DIRECT patch, there was no way to easily work around it
without turning fsync off. I'd suggest playing with different WAL sync
methods before trying anything else.

Merli

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alex Turner 2005-03-14 21:31:03 Re: Postgres on RAID5
Previous Message Arshavir Grigorian 2005-03-14 21:03:43 Re: Postgres on RAID5