Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 8D9869FB2EF for ; Tue, 10 Oct 2006 15:27:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 11426-03 for ; Tue, 10 Oct 2006 18:26:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 93F8A9FB2CC for ; Tue, 10 Oct 2006 15:26:55 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9AIQr7u000773; Tue, 10 Oct 2006 14:26:53 -0400 (EDT) To: Tobias Brox cc: pgsql-performance@postgresql.org Subject: Re: long running transactions In-reply-to: <20061010181953.GA7584@oppetid.no> References: <25404.1160497420@sss.pgh.pa.us> <20061010163913.GA8097@oppetid.no> <20061010164142.GA5360@oppetid.no> <25631.1160498572@sss.pgh.pa.us> <20061010170639.GB5360@oppetid.no> <25953.1160500192@sss.pgh.pa.us> <20061010171304.GC5360@oppetid.no> <26123.1160500707@sss.pgh.pa.us> <20061010174955.GA284@oppetid.no> <528.1160503495@sss.pgh.pa.us> <20061010181953.GA7584@oppetid.no> Comments: In-reply-to Tobias Brox message dated "Tue, 10 Oct 2006 20:19:53 +0200" Date: Tue, 10 Oct 2006 14:26:53 -0400 Message-ID: <772.1160504813@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/205 X-Sequence-Number: 21334 Tobias Brox writes: >> Perhaps you have overly aggressive vacuum cost delay settings? > autovacuum_vacuum_cost_delay = 500 > autovacuum_vacuum_cost_limit = 200 Well, that's going to cause it to sleep half a second after every dozen or so page I/Os. I think you'd be well advised to reduce the delay. regards, tom lane