Re: updating a row in a table with only one row - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: updating a row in a table with only one row
Date
Msg-id b42b73150910050450v2c06c0ecm250708f33c5a85f3@mail.gmail.com
Whole thread Raw
In response to Re: updating a row in a table with only one row  (Michal Vitecek <fuf@mageo.cz>)
Responses Re: updating a row in a table with only one row
List pgsql-performance
On Mon, Oct 5, 2009 at 5:17 AM, Michal Vitecek <fuf@mageo.cz> wrote:

>  Could the problem be the HW RAID card? There's ServerRAID 8k with 256MB
>  with write-back enabled. Could it be that its internal cache becomes
>  full and all disk I/O operations are delayed until it writes all
>  changes to hard drives?

that's possible...the red flag is going to be iowait. if your server
can't keep up with the sync demands for example, you will eventually
outrun the write cache and you can start to see slow queries.  With
your server though it would take in the hundreds of (write)
transactions per second to do that minimum.

merlin

pgsql-performance by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: Best suiting OS
Next
From: Robert Haas
Date:
Subject: Re: Bad performance of SELECT ... where id IN (...)