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 6CB9E52931 for ; Wed, 1 Jun 2005 11:40:01 -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 53133-08 for ; Wed, 1 Jun 2005 14:39:59 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id A3CD452935 for ; Wed, 1 Jun 2005 11:39:58 -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 j51EdxmV013879; Wed, 1 Jun 2005 10:39:59 -0400 (EDT) To: "Mindaugas Riauba" Cc: pgsql-performance@postgresql.org Subject: Re: How to avoid database bloat In-reply-to: <00d501c5667d$8cc12320$f20214ac@bite.lt> References: <00d501c5667d$8cc12320$f20214ac@bite.lt> Comments: In-reply-to "Mindaugas Riauba" message dated "Wed, 01 Jun 2005 10:43:06 +0300" Date: Wed, 01 Jun 2005 10:39:59 -0400 Message-ID: <13878.1117636799@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: 200506/15 X-Sequence-Number: 12653 "Mindaugas Riauba" writes: > Our database increases in size 2.5 times during the day. > What to do to avoid this? Autovacuum running with quite > aggressive settings, FSM settings are high enough. First thing I'd suggest is to get a more detailed idea of exactly what is bloating --- which tables/indexes are the problem? regards, tom lane