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 40381528A6 for ; Mon, 4 Jul 2005 00:09:50 -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 01272-06 for ; Mon, 4 Jul 2005 03:09:46 +0000 (GMT) Received: from mr2.surnet.cl (smtp2.surnet.cl [216.155.73.163]) by svr1.postgresql.org (Postfix) with ESMTP id 816665288E for ; Mon, 4 Jul 2005 00:09:46 -0300 (ADT) Received: from smtp2.surnet.cl (216.155.73.169) by mr2.surnet.cl (7.0.031.3) id 4259ADFA012BF3FC for pgsql-performance@postgresql.org; Sun, 3 Jul 2005 23:09:39 -0400 Received: from smtp2.surnet.cl (mr2.surnet.cl []) by mr2.surnet.cl ([216.155.73.169]); Mon, 04 Jul 2005 03:09:39 +0000 Received: from cluster.surnet.cl (216.155.73.164) by smtp2.surnet.cl (7.0.031.3) id 4259ADE300B65A19 for pgsql-performance@postgresql.org; Sun, 3 Jul 2005 23:09:39 -0400 Received: from alvh.no-ip.org (216.155.79.182) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 42B3EF6000224778 for pgsql-performance@postgresql.org; Sun, 3 Jul 2005 23:09:45 -0400 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 86DCDC2DC70; Sun, 3 Jul 2005 23:10:04 -0400 (CLT) Resent-From: alvherre@surnet.cl Resent-Date: Sun, 3 Jul 2005 23:10:04 -0400 Resent-Message-ID: <20050704031004.GI24255@alvh.no-ip.org> Resent-To: pgsql-performance@postgresql.org Date: Sun, 3 Jul 2005 22:57:09 -0400 From: Alvaro Herrera To: postgresql performance list Subject: Re: plain inserts and deletes very slow Message-ID: <20050704025709.GA24255@alvh.no-ip.org> References: <20050703224537.GA9777@nibiru.borg.metux.de> <20050703225707.GB9777@nibiru.borg.metux.de> <42C887DC.40308@telogis.com> <20050704000157.GD9777@nibiru.borg.metux.de> <42C88D17.4080004@telogis.com> <20050704001747.GE9777@nibiru.borg.metux.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050704001747.GE9777@nibiru.borg.metux.de> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.418 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO, RCVD_IN_NJABL_PROXY X-Spam-Level: * X-Archive-Number: 200507/26 X-Sequence-Number: 13267 On Mon, Jul 04, 2005 at 02:17:47AM +0200, Enrico Weigelt wrote: > * David Mitchell wrote: > > Perhaps if you are doing a lot of inserts and deletes, vacuuming every 6 > > minutes would be closer to your mark. Try vacuuming every 15 minutes for > > a start and see how that affects things (you will have to do a vacuum > > full to get the tables back into shape after them slowing down as they > > have). > > hmm. I've just done vacuum full at the moment on these tables, but it > doesnt seem to change anything :( Maybe you need a REINDEX, if you have indexes on that table. Try that, coupled with the frequent VACUUM suggestion. -- Alvaro Herrera () "World domination is proceeding according to plan" (Andrew Morton)