From: Andri Saar <andris@estpak.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hannu Krosing <hannu@tm.ee>
Cc: pgsql-performance@postgresql.org
Subject: Re: Serious issues with CPU usage
Date: Mon, 8 Sep 2003 17:31:13 +0300
Message-ID: <200309081731.13136.andris@estpak.ee> (raw)
In-Reply-To: <9957.1063029873@sss.pgh.pa.us>
References: <20030905215635.68C1173595@MX2.estpak.ee>
<200309081350.23312.andris@estpak.ee>
<9957.1063029873@sss.pgh.pa.us>
On Monday 08 September 2003 17:04, Tom Lane wrote:
>
> It looks to me like throwing a plain VACUUM into your poller cycle
> (or possibly VACUUM ANALYZE depending on how fast the table's stats
> change) would solve your problems nicely.
>
I compled the pg_autovacuum daemon from 7.4beta sources as Shridhar Daithankar
recommended, and it seems to work fine. At first glance I thought VACUUM is a
thing you do maybe once per week during routine administration tasks like
making a full backup, but I was wrong.
Thanks to all for your help, we can consider this problem solved.
Note to future generations: default postgres configuration settings are very
conservative and don't be afraid to VACUUM very often.
andri
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: andris@estpak.ee, tgl@sss.pgh.pa.us, hannu@tm.ee
Subject: Re: Serious issues with CPU usage
In-Reply-To: <200309081731.13136.andris@estpak.ee>
References: <20030905215635.68C1173595@MX2.estpak.ee> <200309081350.23312.andris@estpak.ee> <9957.1063029873@sss.pgh.pa.us> <200309081731.13136.andris@estpak.ee>
* 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