From: Anders K. Pedersen <akp@cohaesio.com>
To: pgsql-performance@postgresql.org
Subject: Re: Queries sometimes take 1000 times the normal time
Date: Fri, 29 Aug 2003 02:49:44 +0200
Message-ID: <bim7v8$dbs$1@harrier.cohaesio.com> (raw)
References: <bilj9u$a49$1@harrier.cohaesio.com>
<Pine.LNX.4.33.0308281438120.4942-100000@css120.ihs.com>
scott.marlowe wrote:
> Just to add to the clutch here, also check your bdflush settings (if
> you're on linux) or equivalent (if you're not.)
>
> Many times the swapping algo in linux can be quite bursty if you have it
> set to move too many pages at a time during cleanup / flush.
According to vmstat it doesn't swap near the spikes, so I don't think
this is the problem. I posted a vmstat sample in another reply, where
you can see an example of what happens.
Regards,
Anders K. Pedersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: akp@cohaesio.com
Subject: Re: Queries sometimes take 1000 times the normal time
In-Reply-To: <bim7v8$dbs$1@harrier.cohaesio.com>
References: <bilj9u$a49$1@harrier.cohaesio.com> <Pine.LNX.4.33.0308281438120.4942-100000@css120.ihs.com> <bim7v8$dbs$1@harrier.cohaesio.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox