提交 27db3b64 编写于 作者: C Chuck Litzell 提交者: David Yozie

Docs updates to gucs (#7550)

* Updates to GUCs from Cyrille's reviews

* Revise description of temp_buffers to match 6.0 behavior

* Fix a couple typos

* For effective_cache_size GUC, show default in blocks and size.
上级 08969b8f
......@@ -445,9 +445,6 @@
<li>
<xref href="#krb_server_keyfile"/>
</li>
<li>
<xref href="#krb_srvname"/>
</li>
<li>
<xref href="#lc_collate"/>
</li>
......@@ -1390,7 +1387,7 @@
<tbody>
<row>
<entry colname="col1">Boolean</entry>
<entry colname="col2">off</entry>
<entry colname="col2">on</entry>
<entry colname="col3">master<p>session</p><p>reload</p></entry>
</row>
</tbody>
......@@ -1766,6 +1763,10 @@
lower value makes it more likely sequential scans will be used. This parameter has no effect
on the size of shared memory allocated by a Greenplum server instance, nor does it reserve
kernel disk cache; it is used only for estimation purposes.</p>
<p>Set this parameter to a number of 32K blocks (for example, <codeph>512</codeph> for 16MB),
or specify the size of the effective cache (for example, <codeph>'32MB'</codeph> for 1024
blocks). The <codeph>gpconfig</codeph> utility and <codeph>SHOW</codeph> command display the
effective cache size value in units such as 'MB' or 'kB'.</p>
<table id="effective_cache_size_table">
<tgroup cols="3">
<colspec colnum="1" colname="col1" colwidth="1*"/>
......@@ -1781,7 +1782,7 @@
<tbody>
<row>
<entry colname="col1">floating point</entry>
<entry colname="col2">512MB</entry>
<entry colname="col2">512 (16GB)</entry>
<entry colname="col3">master<p>session</p><p>reload</p></entry>
</row>
</tbody>
......@@ -5573,33 +5574,6 @@
</table>
</body>
</topic>
<topic id="krb_srvname">
<title>krb_srvname</title>
<body>
<p>Sets the Kerberos service name.</p>
<table id="krb_srvname_table">
<tgroup cols="3">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="1*"/>
<colspec colnum="3" colname="col3" colwidth="1*"/>
<thead>
<row>
<entry colname="col1">Value Range</entry>
<entry colname="col2">Default</entry>
<entry colname="col3">Set Classifications</entry>
</row>
</thead>
<tbody>
<row>
<entry colname="col1">service name</entry>
<entry colname="col2">postgres</entry>
<entry colname="col3">master<p>system</p><p>reload</p></entry>
</row>
</tbody>
</tgroup>
</table>
</body>
</topic>
<topic id="lc_collate">
<title>lc_collate</title>
<body>
......@@ -8254,7 +8228,7 @@
</thead>
<tbody>
<row>
<entry colname="col1">a comma- separated list of schema names</entry>
<entry colname="col1">a comma-separated list of schema names</entry>
<entry colname="col2">$user,public</entry>
<entry colname="col3">master<p>session</p><p>reload</p></entry>
</row>
......@@ -8773,12 +8747,18 @@
<topic id="temp_buffers">
<title>temp_buffers</title>
<body>
<p>Sets the maximum number of temporary buffers used by each database session. These are
session-local buffers used only for access to temporary tables. The setting can be changed
within individual sessions, but only up until the first use of temporary tables within a
session. The cost of setting a large value in sessions that do not actually need a lot of
temporary buffers is only a buffer descriptor, or about 64 bytes, per increment. However if
a buffer is actually used, an additional 8192 bytes will be consumed. </p>
<p>Sets the maximum memory, in blocks, to allow for temporary buffers by each database
session. These are session-local buffers used only for access to temporary tables. The
setting can be changed within individual sessions, but only up until the first use of
temporary tables within a session. The cost of setting a large value in sessions that do not
actually need a lot of temporary buffers is only a buffer descriptor for each block, or
about 64 bytes, per increment. However if a buffer is actually used, an additional 32768
bytes will be consumed.</p>
<p>You can set this parameter to the number of 32K blocks (for example, <codeph>1024</codeph>
to allow 32MB for buffers), or specify the maximum amount of memory to allow (for example
<codeph>'48MB'</codeph> for 1536 blocks). The <codeph>gpconfig</codeph> utility and
<codeph>SHOW</codeph> command report the maximum amount of memory allowed for temporary
buffers.</p>
<table id="temp_buffers_table">
<tgroup cols="3">
<colspec colnum="1" colname="col1" colwidth="1*"/>
......@@ -8794,7 +8774,7 @@
<tbody>
<row>
<entry colname="col1">integer</entry>
<entry colname="col2">1024</entry>
<entry colname="col2">1024 (32MB)</entry>
<entry colname="col3">master<p>session</p><p>reload</p></entry>
</row>
</tbody>
......
......@@ -149,9 +149,6 @@
</p>
</stentry>
<stentry>
<p>
<xref href="guc-list.xml#krb_srvname" type="section">krb_srvname</xref>
</p>
<p>
<xref href="guc-list.xml#password_encryption" type="section"
>password_encryption</xref>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册