Re: high load on server

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Gerd Koenig <koenig(at)transporeon(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: high load on server
Date: 2009-04-03 19:25:19
Message-ID: dcc563d10904031225m1a0a25fdr522f13e49d3f2099@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Apr 3, 2009 at 12:35 PM, Gerd Koenig <koenig(at)transporeon(dot)com> wrote:
>> The problem might be that you're assuming there's a problem.  Looking
>> at the rest of your diags, you're data set fits in memory, I/O wait is
>> < 10% and there are no processes waiting for a CPU to free up, they're
>> all running.
>>
>> Looks healthy to me.
>
> Perfect, probably our customers didn't work that much in the past, but now
> they do ;-)

Well, it looks like you're about halfway to where you're gonna have to
start improving your hardware / using slony read slaves / using
memcached or something like that to handle the extra load. Keep an
eye on your wait%. If that starts climbing and vmstat shows more and
more bo going to your drives, then you'll need to improve your I/O
subsystem to keep up with the load.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2009-04-03 22:13:14 Re: high load on server
Previous Message Tom Lane 2009-04-03 18:43:09 Re: constraint trigger