Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcee63ea

Browse files
committed
Update documentation table describing how shared memory is used by
various facilities.
1 parenta666d28 commitcee63ea

File tree

1 file changed

+19
-25
lines changed

1 file changed

+19
-25
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.423 2008/12/16 19:30:43 alvherre Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.424 2008/12/18 17:03:09 momjian Exp $ -->
22

33
<chapter Id="runtime">
44
<title>Operating System Environment</title>
@@ -1080,41 +1080,45 @@ set semsys:seminfo_semmsl=32
10801080

10811081

10821082
<table id="shared-memory-parameters">
1083-
<title>Configuration parameters affecting
1084-
<productname>PostgreSQL</productname>'s shared memory usage</>
1083+
<title><productname>PostgreSQL</productname> shared memory usage</>
10851084

10861085
<tgroup cols="2">
10871086
<thead>
10881087
<row>
1089-
<entry>Name</>
1090-
<entry>Approximatemultiplier (bytesper increment)as of 8.3</>
1088+
<entry>Usage</>
1089+
<entry>Approximateshared memorybytesrequired (as of 8.3)</>
10911090
</row>
10921091
</thead>
10931092

10941093
<tbody>
10951094
<row>
1096-
<entry><xref linkend="guc-max-connections"></>
1097-
<entry>1800 + 270 * <xref linkend="guc-max-locks-per-transaction"></entry>
1095+
<entry>Connections</>
1096+
<entry>(1800 + 270 * <xref
1097+
linkend="guc-max-locks-per-transaction">) * <xref
1098+
linkend="guc-max-connections"></entry>
10981099
</row>
10991100

11001101
<row>
1101-
<entry><xref linkend="guc-autovacuum-max-workers"></>
1102-
<entry>1800 + 270 * <xref linkend="guc-max-locks-per-transaction"></entry>
1102+
<entry>Autovacuum workers</>
1103+
<entry>(1800 + 270 * <xref
1104+
linkend="guc-max-locks-per-transaction">) * <xref
1105+
linkend="guc-autovacuum-max-workers"></entry>
11031106
</row>
11041107

11051108
<row>
1106-
<entry><xref linkend="guc-max-prepared-transactions"></>
1107-
<entry>770 + 270 * <xref linkend="guc-max-locks-per-transaction"></entry>
1109+
<entry>Prepared transactions</>
1110+
<entry>(770 + 270 * <xref
1111+
linkend="guc-max-locks-per-transaction">) * <xref linkend="guc-max-prepared-transactions"></entry>
11081112
</row>
11091113

11101114
<row>
1111-
<entry><xref linkend="guc-shared-buffers"></>
1112-
<entry>8400 (assuming 8 kB <symbol>BLCKSZ</>)</entry>
1115+
<entry>Shared diskbuffers</>
1116+
<entry>(<xref linkend="guc-block-size"> + 208) * <xref linkend="guc-shared-buffers"></entry>
11131117
</row>
11141118

11151119
<row>
1116-
<entry><xref linkend="guc-wal-buffers"></>
1117-
<entry>8200 (assuming 8 kB <symbol>XLOG_BLCKSZ</>)</entry>
1120+
<entry>WALbuffers</>
1121+
<entry>(<xref linkend="guc-wal-block-size"> + 8) * <xref linkend="guc-wal-buffers"></entry>
11181122
</row>
11191123

11201124
<row>
@@ -1125,18 +1129,8 @@ set semsys:seminfo_semmsl=32
11251129
</tgroup>
11261130
</table>
11271131

1128-
<note>
1129-
<para>
1130-
The multipliers for <varname>shared_buffers</> and
1131-
<varname>wal_buffers</> should be the number of buffers, not the
1132-
amount in bytes. To find out the number of shared or wal buffers, divide
1133-
the amount in bytes by <xref linkend="guc-block-size"> and
1134-
<xref linkend="guc-wal-block-size">, respectively.
1135-
</para>
1136-
</note>
11371132
</sect2>
11381133

1139-
11401134
<sect2>
11411135
<title>Resource Limits</title>
11421136

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp