From: Enrico Weigelt <weigelt@metux.de>
To: postgresql performance list <pgsql-performance@postgresql.org>
Subject: Re: plain inserts and deletes very slow
Date: Mon, 4 Jul 2005 02:01:57 +0200
Message-ID: <20050704000157.GD9777@nibiru.borg.metux.de> (raw)
In-Reply-To: <42C887DC.40308@telogis.com>
References: <20050703224537.GA9777@nibiru.borg.metux.de>
<20050703225707.GB9777@nibiru.borg.metux.de>
<42C887DC.40308@telogis.com>
* David Mitchell <david.mitchell@telogis.com> wrote:
> Did you vacuum full?
>
> When you do lots of inserts and deletes, dead tuples get left behind.
> When you vacuum, postgres will reuse those dead tuples, but if you don't
> vacuum for a long time these tuples will build up lots. Even when you
> vacuum in this case, the dead tuples are still there, although they are
> marked for reuse. Vacuuming full actually removes the dead tuples.
I'm doing a VACUUM ANALYZE every 6 hours.
vacuum'ing manually doesnt seem to have any effect on that.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
---------------------------------------------------------------------
Realtime Forex/Stock Exchange trading powered by postgresSQL :))
http://www.fxignal.net/
---------------------------------------------------------------------
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: weigelt@metux.de
Subject: Re: plain inserts and deletes very slow
In-Reply-To: <20050704000157.GD9777@nibiru.borg.metux.de>
* 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