X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 0390030EB2D for ; Fri, 13 Jun 2003 05:35:38 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 59599-04 for ; Fri, 13 Jun 2003 02:35:27 -0300 (ADT) Received: from louise.pinerecords.com (louise.pinerecords.com [213.168.176.16]) by svr1.postgresql.org (Postfix) with ESMTP id 34D1A30E903 for ; Fri, 13 Jun 2003 02:35:14 -0300 (ADT) Received: from louise.pinerecords.com (kala@localhost [127.0.0.1]) by louise.pinerecords.com with ESMTP id h5D5Z2Wg027372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Jun 2003 07:35:02 +0200 Received: (from kala@localhost) by louise.pinerecords.com (submit) id h5D5Yxqn027351; Fri, 13 Jun 2003 07:34:59 +0200 Date: Fri, 13 Jun 2003 07:34:59 +0200 From: Tomas Szepe To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: db growing out of proportion Message-ID: <20030613053459.GB23789@louise.pinerecords.com> References: <8938.1054300299@sss.pgh.pa.us> <20030530225939.GE21944@louise.pinerecords.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030530225939.GE21944@louise.pinerecords.com> User-Agent: Mutt/1.4.1i X-Archive-Number: 200306/61 X-Sequence-Number: 6156 > [szepe@pinerecords.com] > > > Peter Childs writes: > > > On Fri, 30 May 2003, Tomas Szepe wrote: > > >> Trouble is, as the rows in the tables get deleted/inserted/updated > > >> (the frequency being a couple thousand rows per minute), the database > > >> is growing out of proportion in size. > > > > > Would more regular vacuum help. I think a vaccum every hour may do > > > the job. > > > > Also note that no amount of vacuuming will save you if the FSM is not > > large enough to keep track of all the free space. The default FSM > > settings, like all the other default settings in Postgres, are set up > > for a small installation. You'd probably need to raise them by at least > > a factor of 10 for this installation. > > Thanks, I'll try to tweak those settings and will let the list know how > things went. Well, raising max_fsm_pages to 500000 seems to have solved the problem entirely. My thanks go to everyone who've offered their help. -- Tomas Szepe