Re: UPDATES hang every 5 minutes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mr19 <marc_rossi(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: UPDATES hang every 5 minutes
Date: 2007-08-09 23:37:21
Message-ID: 3942.1186702641@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

mr19 <marc_rossi(at)yahoo(dot)com> writes:
> I have a process that updates ~ 1500 rows in a table once a second. Every 5
> minutes (almost exactly) the update takes ~ 15 seconds (normally < 1).

Checkpoints?

> I have run htop/top on the machine during this time period and do not see
> anything unusual.

Try watching "vmstat 1" --- your machine is probably I/O bound not
CPU bound.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joseph S 2007-08-09 23:37:51 Re: UPDATES hang every 5 minutes
Previous Message Steve Crawford 2007-08-09 22:54:00 Re: UPDATES hang every 5 minutes