X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.225.181]) by svr1.postgresql.org (Postfix) with ESMTP id 4F2EDCCCD1 for ; Fri, 18 Jul 2003 11:39:04 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr5.postgresql.org [64.117.225.181]) (amavisd-new, port 10024) with ESMTP id 63083-05 for ; Fri, 18 Jul 2003 11:39:21 +0000 (GMT) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by svr1.postgresql.org (Postfix) with ESMTP id F1670CC917 for ; Fri, 18 Jul 2003 08:38:51 -0300 (ADT) Received: from [10.1.2.130] (helo=dba2) by mail.libertyrms.com with esmtp (Exim 3.22 #3 (Debian)) id 19dTa7-0007id-00 for ; Fri, 18 Jul 2003 07:39:23 -0400 Received: by dba2 (Postfix, from userid 1019) id D1898CEC9; Fri, 18 Jul 2003 07:39:46 -0400 (EDT) Date: Fri, 18 Jul 2003 07:39:46 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: Database growth problem Message-ID: <20030718113946.GB2503@libertyrms.info> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <200307172232.24024.mlaks@bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307172232.24024.mlaks@bellatlantic.net> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/164 X-Sequence-Number: 9504 On Thu, Jul 17, 2003 at 10:32:24PM -0400, mlaks wrote: > Hi, > > I have about 15 different PC's running RedHat 7.3 Linux, each running the > same database backed application (I use Postgresql 7.2.1 for the database) Upgrade that to 7.2.4, at least. Noo need to dump and restore, but you get saved from some nasty bugs. > On this system, I keep the RAID about 75% full of files, and thus I imagine > that the Postgresql database should be about .75 of a GB in size. However, it > isnt! I find that it keeps growing as time goes on. Its now about 3.9GB in > size! Could be that your free space map is too small; on 7.2, the default is at least an order of magnitude too small. Also, perhaps you need to reindex: the btrees in Postgres have a nasty habit of growing without bound. (That's fixed in current CVS sources.) A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110