diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-12-27 14:07:14 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-12-27 14:07:14 +0000 |
commit | 31f7f574bddb320acf545b6316133a5d6b940190 (patch) | |
tree | 858d9e29a4882ed65aed128591448fc0aefdb6ec | |
parent | 7c3e3cd96adb3e853bd5b5d56d1b05f177233335 (diff) | |
download | postgresql-31f7f574bddb320acf545b6316133a5d6b940190.tar.gz postgresql-31f7f574bddb320acf545b6316133a5d6b940190.zip |
Trivial patch to increase max_fsm_pages as per earlier discussion.
Philip Warner
-rw-r--r-- | doc/src/sgml/runtime.sgml | 4 | ||||
-rw-r--r-- | src/backend/utils/misc/guc.c | 4 | ||||
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index a6d18e9f229..9ea578b2eaa 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.147.2.4 2002/12/09 21:03:42 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.147.2.5 2002/12/27 14:07:14 momjian Exp $ --> <Chapter Id="runtime"> @@ -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> diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 306aec12f60..18db117c720 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -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.99.2.1 2002/12/02 05:21:02 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.99.2.2 2002/12/27 14:07:14 momjian Exp $ * * Copyright 2000 by PostgreSQL Global Development Group * Written by Peter Eisentraut <peter_e@gmx.net>. @@ -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, diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index c5973422635..1370e3d7857 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -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 |