Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 13464474ED1 for ; Fri, 26 Jul 2002 11:35:34 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g6QFZcVk025770; Fri, 26 Jul 2002 11:35:38 -0400 (EDT) To: Joshua Daniel Franklin Cc: "Michael G. Martin" , pgsql-admin@postgresql.org Subject: Re: Postgres performance slowly gets worse over a month In-reply-to: <20020726144537.92735.qmail@web20002.mail.yahoo.com> References: <20020726144537.92735.qmail@web20002.mail.yahoo.com> Comments: In-reply-to Joshua Daniel Franklin message dated "Fri, 26 Jul 2002 07:45:37 -0700" Date: Fri, 26 Jul 2002 11:35:38 -0400 Message-ID: <25769.1027697738@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200207/375 X-Sequence-Number: 5059 Joshua Daniel Franklin writes: > Perhaps I wasn't clear. There really aren't any (daily) "no-longer needed > tuples", just added ones. I am under the impression that vacuum is just for > freeing up tuples to be re-used, so the only time it needs to be run is after > the 6-monthly tuple massacre, at which time I would also need to set > max_fsm_pages to a huge number. If you do VACUUM FULL after each "tuple massacre" (which you'd better, since the point AFAICT is to cut the total disk space used by the file) then there's not really any need for bumping up max_fsm_pages. The post-vacuum-full state of the table isn't going to have a whole lot of embedded free space ... regards, tom lane