X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D60E6D1B8C6 for ; Thu, 4 Sep 2003 23:24:17 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 60788-05 for ; Thu, 4 Sep 2003 20:24:09 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id CFCECD1B8E9 for ; Thu, 4 Sep 2003 20:24:04 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h84NO5jX012062; Thu, 4 Sep 2003 19:24:05 -0400 (EDT) To: "Jouneau Luc" Cc: pgsql-admin@postgresql.org Subject: Re: max_fsm_pages In-reply-to: <007c01c372f0$95b80b10$4703668a@pc502jlo> References: <007c01c372f0$95b80b10$4703668a@pc502jlo> Comments: In-reply-to "Jouneau Luc" message dated "Thu, 04 Sep 2003 16:26:46 +0200" Date: Thu, 04 Sep 2003 19:24:04 -0400 Message-ID: <12061.1062717844@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/84 X-Sequence-Number: 10172 "Jouneau Luc" writes: > INFO: Pages 11944: Changed 11944, Empty 0; Tup 32: Vac 1931936, Keep 0, Un= > Used 0. > Total CPU 1.57s/1.90u sec elapsed 42.01 sec. > It seems that FSM traced all of my deletes since it mentions removes in 864= > 1+3303=3D11944 pages (>10000 which was set for max_fsm_page). The numbers output by VACUUM don't tell you anything about how many of those pages will actually be remembered in the FSM. In practice, max_fsm_relations=100 is too small; we've bumped the default to 1000 for 7.4. > My first aim was to know if max_fsm_pages was set for each table or for a w= > hole database. Whole database. That default setting is very small, too (enough for a database of maybe a couple hundred meg, at most). regards, tom lane