X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EF14C52809 for ; Sun, 3 Jul 2005 22:03:02 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76170-01 for ; Mon, 4 Jul 2005 01:02:53 +0000 (GMT) Received: from metux.de (seven.metux.de [193.16.1.1]) by svr1.postgresql.org (Postfix) with ESMTP id 3202D528AD for ; Sun, 3 Jul 2005 22:02:51 -0300 (ADT) Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id j6401vQF024275 for pgsql-performance@postgresql.org; Mon, 4 Jul 2005 02:01:57 +0200 Date: Mon, 4 Jul 2005 02:01:57 +0200 From: Enrico Weigelt To: postgresql performance list Subject: Re: plain inserts and deletes very slow Message-ID: <20050704000157.GD9777@nibiru.borg.metux.de> Reply-To: weigelt@metux.de Mail-Followup-To: postgresql performance list References: <20050703224537.GA9777@nibiru.borg.metux.de> <20050703225707.GB9777@nibiru.borg.metux.de> <42C887DC.40308@telogis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42C887DC.40308@telogis.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/23 X-Sequence-Number: 13264 * David Mitchell 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/ ---------------------------------------------------------------------