aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-06-27 23:31:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-06-27 23:31:40 +0000
commite0c9301c87634f21c0a7c6305bdc6da15d6ba375 (patch)
treeaad976ca0197137c3461ff19a3d0e155487f7b44 /doc/src
parentb559382134a52bbe1d79d465afd89c8385f88581 (diff)
downloadpostgresql-e0c9301c87634f21c0a7c6305bdc6da15d6ba375.tar.gz
postgresql-e0c9301c87634f21c0a7c6305bdc6da15d6ba375.zip
Install infrastructure for shared-memory free space map. Doesn't actually
do anything yet, but it has the necessary connections to initialization and so forth. Make some gestures towards allowing number of blocks in a relation to be BlockNumber, ie, unsigned int, rather than signed int. (I doubt I got all the places that are sloppy about it, yet.) On the way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC variable.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml38
1 files changed, 37 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 53add130cb1..d39d2d5d76f 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.69 2001/06/23 00:03:10 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.70 2001/06/27 23:31:37 tgl Exp $
-->
<Chapter Id="runtime">
@@ -1132,6 +1132,42 @@ dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/cont
</varlistentry>
<varlistentry>
+ <term>MAX_FSM_RELATIONS (<type>integer</type>)</term>
+ <listitem>
+ <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.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>MAX_FSM_PAGES (<type>integer</type>)</term>
+ <listitem>
+ <para>
+ Sets the maximum number of disk pages for which free space
+ will be tracked in the shared free-space map.
+ The default is 10000. This option can only be set at server start.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>MAX_LOCKS_PER_XACT (<type>integer</type>)</term>
+ <listitem>
+ <para>
+ The shared lock table is sized on the assumption that at most
+ max_locks_per_xact * max_connections distinct objects will need
+ to be locked at any one time. The default, 64, has historically
+ proven sufficient, but you might need to raise this value if you
+ have clients that touch many different tables in a single transaction.
+ This option can only be set at server start.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>PORT (<type>integer</type>)</term>
<listitem>
<para>