Re: CPU utilization vs. IO wait, shared buffers? - Mailing list pgsql-performance

From Alan Hodgson
Subject Re: CPU utilization vs. IO wait, shared buffers?
Date
Msg-id 200810301448.58941@hal.medialogik.com
Whole thread Raw
In response to CPU utilization vs. IO wait, shared buffers?  ("Oliver Johnson" <oliverjjohnson@gmail.com>)
List pgsql-performance
On Thursday 30 October 2008, "Oliver Johnson" <oliverjjohnson@gmail.com>
wrote:
> Another thing to note, we have VACUUM ANALYZE running on an hourly
> interval and the switch from CPU to IO wait appears to always coincide
> with a vacuum.
>
> What might cause this shift?

The extra disk access caused by vacuum? That seems pretty obvious.

Use auto-vacuum. There's no reason to vacuum your entire database every hour
(doing so reads from disk the entirety of every table and index, and
generates some write activity).

--
Alan

pgsql-performance by date:

Previous
From: "Oliver Johnson"
Date:
Subject: CPU utilization vs. IO wait, shared buffers?
Next
From: "Scott Marlowe"
Date:
Subject: Re: CPU utilization vs. IO wait, shared buffers?