X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2957A53C7E for ; Sat, 23 Apr 2005 00:29:17 -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 81527-01 for ; Sat, 23 Apr 2005 03:29:14 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id EE6FF54068 for ; Sat, 23 Apr 2005 00:28:49 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j3N3Smv21371 for pgsql-docs@postgresql.org; Fri, 22 Apr 2005 23:28:48 -0400 (EDT) From: Bruce Momjian Message-Id: <200504230328.j3N3Smv21371@candle.pha.pa.us> Subject: Improve documentation in setting FSM To: PostgreSQL-documentation Date: Fri, 22 Apr 2005 23:28:48 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM1114226928-16778-0_ Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/19 X-Sequence-Number: 2949 --ELM1114226928-16778-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII I have applied the following patch suggesting people look at the last few lines of a database-wide VACUUM VERBOSE to determine if the current setting is appropriate. Also mention the NOTICE that is printed if it is too low. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 --ELM1114226928-16778-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain Content-Disposition: inline; filename="/bjm/diff" Index: doc/src/sgml/runtime.sgml =================================================================== RCS file: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v retrieving revision 1.314 diff -c -c -r1.314 runtime.sgml *** doc/src/sgml/runtime.sgml 21 Apr 2005 19:18:12 -0000 1.314 --- doc/src/sgml/runtime.sgml 23 Apr 2005 03:26:18 -0000 *************** *** 1151,1156 **** --- 1151,1160 ---- be tracked in the shared free-space map. Six bytes of shared memory are consumed for each page slot. This setting must be more than 16 * max_fsm_relations. The default is 20000. + The last few lines of a database-wide VACUUM VERBOSE + can help in determining if the the default setting is suitable. + A NOTICE message is also printed during such an operation + if the current setting is too low. This option can only be set at server start. *************** *** 1167,1172 **** --- 1171,1180 ---- free space will be tracked in the shared free-space map. Roughly fifty bytes of shared memory are consumed for each slot. The default is 1000. + The last few lines of a database-wide VACUUM VERBOSE + can help in determining if the the default setting is suitable. + A NOTICE message is also printed during such an operation + if the current setting is too low. This option can only be set at server start. --ELM1114226928-16778-0_--