Skip to content

Commit 9a39ba4

Browse files
committed
Trivial patch to increase max_fsm_pages as per earlier discussion.
Philip Warner
1 parent 7288439 commit 9a39ba4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.164 2002/12/10 01:57:46 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.165 2002/12/27 14:06:34 momjian Exp $
33
-->
44

55
<Chapter Id="runtime">
@@ -1709,7 +1709,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
17091709
<para>
17101710
Sets the maximum number of relations (tables) for which free
17111711
space will be tracked in the shared free-space map. The default
1712-
is 100. This option can only be set at server start.
1712+
is 1000. This option can only be set at server start.
17131713
</para>
17141714
</listitem>
17151715
</varlistentry>

src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* command, configuration file, and command line options.
66
* See src/backend/utils/misc/README for more information.
77
*
8-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.108 2002/12/02 05:20:47 tgl Exp $
8+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.109 2002/12/27 14:06:34 momjian Exp $
99
*
1010
* Copyright 2000 by PostgreSQL Global Development Group
1111
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -632,7 +632,7 @@ static struct config_int
632632

633633
{
634634
{"max_fsm_relations", PGC_POSTMASTER}, &MaxFSMRelations,
635-
100, 10, INT_MAX, NULL, NULL
635+
1000, 10, INT_MAX, NULL, NULL
636636
},
637637
{
638638
{"max_fsm_pages", PGC_POSTMASTER}, &MaxFSMPages,

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# Shared Memory Size
4949
#
5050
#shared_buffers = 64 # 2*max_connections, min 16, typically 8KB each
51-
#max_fsm_relations = 100 # min 10, fsm is free space map, ~40 bytes
51+
#max_fsm_relations = 1000 # min 10, fsm is free space map, ~40 bytes
5252
#max_fsm_pages = 10000 # min 1000, fsm is free space map, ~6 bytes
5353
#max_locks_per_transaction = 64 # min 10
5454
#wal_buffers = 8 # min 4, typically 8KB each

0 commit comments

Comments
 (0)