Re: strange pauses - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: strange pauses
Date
Msg-id dcc563d10801170544n445433f6m958c9b2ca83558d5@mail.gmail.com
Whole thread Raw
In response to Re: strange pauses  (Adrian Moisey <adrian@careerjunction.co.za>)
List pgsql-performance
On Jan 17, 2008 12:50 AM, Adrian Moisey <adrian@careerjunction.co.za> wrote:
> Hi
>
> >> Search this list for references to "checkpoints". If you run
> >> vmstat/iostat for a bit you should see bursts of disk activity at
> >> those times.
> >
> > The most straightforward way to prove or disprove that the slow queries
> > line up with checkpoints is to set to checkpoint_warning to a high value
> > (3600 should work), which should log every checkpoint, and then see if
> > they show up at the same time in the logs.
>
> You guys were spot on.  During these pauses the IO goes up high.

You need to tune your background writer process.  See this link:

http://www.westnet.com/~gsmith/content/postgresql/chkp-bgw-83.htm

pgsql-performance by date:

Previous
From: Brian Herlihy
Date:
Subject: Re: strange pauses
Next
From: "Sean Davis"
Date:
Subject: [OT] RAID controllers blocking one another?