Trivial patch to increase max_fsm_pages as per earlier discussion.
authorBruce Momjian
Fri, 27 Dec 2002 14:06:34 +0000 (14:06 +0000)
committerBruce Momjian
Fri, 27 Dec 2002 14:06:34 +0000 (14:06 +0000)
Philip Warner

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

index 6f659ab18ea07ba5f81ef6a62f420a35d41a612d..3f530f35784fecefc21c9eb2a404ebb94ef52489 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -1709,7 +1709,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
        
         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.
        
       
      
index 02c78e0de016545a6a70252688eb681e99993712..bd63313cd23306647f99730013ab4299069ad5ab 100644 (file)
@@ -5,7 +5,7 @@
  * command, configuration file, and command line options.
  * See src/backend/utils/misc/README for more information.
  *
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.108 2002/12/02 05:20:47 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.109 2002/12/27 14:06:34 momjian Exp $
  *
  * Copyright 2000 by PostgreSQL Global Development Group
  * Written by Peter Eisentraut .
@@ -632,7 +632,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 1c4595a66bf82a36508448efa5e2d1331521adc9..ef91d2482834279a360759d89e66cb0ce1725cc9 100644 (file)
@@ -48,7 +48,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