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 1D03F53771 for ; Fri, 13 May 2005 10:42:56 -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 38593-10 for ; Fri, 13 May 2005 13:42:47 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 3F9E95401A for ; Fri, 13 May 2005 10:42:46 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j4DDghhA023218; Fri, 13 May 2005 09:42:43 -0400 (EDT) To: "Mindaugas Riauba" Cc: pgsql-performance@postgresql.org Subject: Re: PostgreSQL strugling during high load In-reply-to: <01cc01c557ba$a4fdb0b0$f20214ac@bite.lt> References: <01cc01c557ba$a4fdb0b0$f20214ac@bite.lt> Comments: In-reply-to "Mindaugas Riauba" message dated "Fri, 13 May 2005 15:52:38 +0300" Date: Fri, 13 May 2005 09:42:43 -0400 Message-ID: <23217.1115991763@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/258 X-Sequence-Number: 12422 "Mindaugas Riauba" writes: > ... So contents of database changes very fast. Problem is that when > pg_autovacuum does vacuum those changes slows down too much. The "vacuum cost" parameters can be adjusted to make vacuums fired by pg_autovacuum less of a burden. I haven't got any specific numbers to suggest, but perhaps someone else does. regards, tom lane