Trivial patch to increase max_fsm_pages as per earlier discussion.
authorBruce Momjian <[email protected]>
Fri, 27 Dec 2002 14:07:14 +0000 (14:07 +0000)
committerBruce Momjian <[email protected]>
Fri, 27 Dec 2002 14:07:14 +0000 (14:07 +0000)
Philip Warner

doc/src/sgml/runtime.sgml
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample

index 13070837060c196dc4b937b1a93b242c62c57a64..aac38efae0c8c3ba08197bd465dac1e989fbdc4c 100644 (file)
@@ -1656,7 +1656,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
        <para>
         Sets the maximum number of relations (tables) for which free
         space will be tracked in the shared free-space map. The default
-        is 100. This option can only be set at server start.
+        is 1000. This option can only be set at server start.
        </para>
       </listitem>
      </varlistentry>
index 26e78c74e0eff5fe2629ac7beeedd0acaff60cbd..e177a4c0592719e461983fadaebda9d3d58ee757 100644 (file)
@@ -628,7 +628,7 @@ static struct config_int
 
        {
                {"max_fsm_relations", PGC_POSTMASTER}, &MaxFSMRelations,
-               100, 10, INT_MAX, NULL, NULL
+               1000, 10, INT_MAX, NULL, NULL
        },
        {
                {"max_fsm_pages", PGC_POSTMASTER}, &MaxFSMPages,
index c59734226355b1d330452abd47c6577462569bca..1370e3d7857d32d93bba461b7e885280a000a2d6 100644 (file)
@@ -50,7 +50,7 @@
 #      Shared Memory Size
 #
 #shared_buffers = 64           # 2*max_connections, min 16, typically 8KB each
-#max_fsm_relations = 100       # min 10, fsm is free space map, ~40 bytes
+#max_fsm_relations = 1000      # min 10, fsm is free space map, ~40 bytes
 #max_fsm_pages = 10000         # min 1000, fsm is free space map, ~6 bytes
 #max_locks_per_transaction = 64        # min 10
 #wal_buffers = 8               # min 4, typically 8KB each