1<!-- doc/src/sgml/config.sgml -->
2
3<sect1 id="runtime-in-memory-query-cache">
4 <!--
5 <title>In Memory Query Cache</title>
6 -->
7 <title>インメモリキャッシュ</title>
8
9 <para>
10  <!--
11  In memory query cache can be used with all modes of
12  <productname>Pgpool-II</productname>.
13  <productname>Pgpool-II</productname> does not
14  need a restart when the cache gets outdated because of
15  the underlying table updates.
16  -->
17  <productname>Pgpool-II</productname>の全てのモードでインメモリクエリキャッシュを利用することができます。
18  テーブルが更新によりキャッシュが古くなっても、<productname>Pgpool-II</>の再起動の必要はありません。
19 </para>
20
21 <note>
22  <para>
23   <!--
24   Basically following SELECTs will not be cached:
25   <programlisting>
26   SELECTs including non immutable functions
27   SELECTs including temp tables, unlogged tables
28   SELECT result is too large (memqcache_maxcache)
29   SELECT FOR SHARE/UPDATE
30   SELECT starting with "/*NO QUERY CACHE*/" comment
31   SELECT including system catalogs
32   SELECT uses TABLESAMPLE
33  </programlisting>
34   However, VIEWs and SELECTs accessing unlogged tables can be
35   cached by specifying in
36   the <xref linkend="guc-white-memqcache-table-list">.
37   -->
38   基本的に以下のSELECTはキャッシュされません。
39   <programlisting>
40    immutableでない関数を含むSELECT
41    一時テーブル、unloggedテーブルを使ったSELECT
42    検索結果が memqcache_maxcache を越えるようなSELECT
43    SELECT FOR SHARE/UPDATE
44    /*NO QUERY CACHE*/コメントで始まるSELECT
45    システムカタログを使用しているSELECT
46    TABLESAMPLEを使っているSELECT
47   </programlisting>
48   ただし、VIEWと unloggedテーブルは、white_memqcache_table_list に記載することでキャッシュされます。
49  </para>
50 </note>
51 <para>
52  <!--
53  In memory cache saves the pair of SELECT statement
54  and its result
55  (along with the Bind parameters, if the SELECT is an
56  extended query). If the same SELECTs comes in,
57  <productname>Pgpool-II</productname> returns the value
58  from cache. Since no <acronym>SQL</acronym> parsing nor
59  access to <productname>PostgreSQL</> are involved, the serving of results
60  from the in memory cache is extremely fast.
61  -->
62  インメモリクエリキャッシュは、SELECT文(拡張問い合わせの場合は更にバインドパラメータ)と 検索結果をペアで記録します。
63  同じSELECT文が発行された場合に、<productname>Pgpool-II</productname>はキャッシュから結果を返します。
64  <acronym>SQL</acronym>の解析も<productname>PostgreSQL</>へのアクセスも行われないため、インメモリキャッシュからの結果の提供は非常に高速です。
65
66 </para>
67 <para>
68  <!--
69  On the other hand, it might be slower than the normal path in some
70  cases, because it adds some overhead to store cache.  Moreover when
71  a table is updated, <productname>Pgpool-II
72 </productname> automatically deletes all the caches related to the
73  table. Therefore, the performance will be degraded by a system with
74  a lot of updates.  If the query cache hit ratio (it can be checked
75  by using <xref linkend="SQL-SHOW-POOL-CACHE">) is lower than 70%,
76  you might want to disable in memory cache.
77  -->
78  反面、キャッシュをストアするオーバヘッドが生じるので、通常の方法より遅くなる場合も有ります。
79  また、あるテーブルが更新された場合、<productname>Pgpool-II</productname>は自動的にそのテーブルに関係する全てのキャッシュを削除します。
80  そのため、更新が多いシステムではパフォーマンスが悪くなります。
81  キャッシュのヒット率(<xref linkend="SQL-SHOW-POOL-CACHE">を使って確認できます)が70%以下の場合は、インメモリクエリキャッシュ無効にしたほうがいいかもしれません。
82 </para>
83
84 <sect2 id="runtime-in-memory-query-cache-enabling">
85  <!--
86  <title>Enabling in memory query cache</title>
87  -->
88  <title>インメモリクエリキャッシュを有効にする</title>
89
90  <variablelist>
91
92   <varlistentry id="guc-memory-cache-enabled" xreflabel="memory_cache_enabled">
93    <term><varname>memory_cache_enabled</varname> (<type>boolean</type>)
94     <indexterm>
95      <!--
96      <primary><varname>memory_cache_enabled</varname> configuration parameter</primary>
97      -->
98      <primary><varname>memory_cache_enabled</varname> 設定パラメータ</primary>
99     </indexterm>
100    </term>
101    <listitem>
102     <para>
103      <!--
104      Setting to on enables the memory cache.
105      Default is off.
106      -->
107      onにするとメモリキャッシュが有効になります。
108      デフォルトはoffです。
109     </para>
110     <para>
111      <!--
112      This parameter can only be set at server start.
113      -->
114      このパラメータはサーバ起動時にのみ設定可能です。
115     </para>
116    </listitem>
117   </varlistentry>
118  </variablelist>
119 </sect2>
120
121 <sect2 id="runtime-in-memory-query-cache-choose-storage">
122  <!--
123  <title>Choosing cache storage</title>
124  -->
125  <title>キャッシュストレージの選択</title>
126
127  <variablelist>
128
129   <varlistentry id="guc-memqcache-method" xreflabel="memqcache_method">
130    <term><varname>memqcache_method</varname> (<type>string</type>)
131     <indexterm>
132      <!--
133      <primary><varname>memqcache_method</varname> configuration parameter</primary>
134      -->
135      <primary><varname>memqcache_method</varname> 設定パラメータ</primary>
136     </indexterm>
137    </term>
138    <listitem>
139     <para>
140      <!--
141      Specifies the storage type to be used for the cache.
142      Below table contains the list of all valid values for the parameter.
143      -->
144      キャッシュに用いるストレージのタイプを指定します。
145      このパラメータで有効な全ての値のリストを以下の表に示します。
146     </para>
147
148     <table id="memqcache-method-table">
149      <title>Memcache method options</title>
150      <tgroup cols="2">
151       <thead>
152	<row>
153	 <!--
154	 <entry>Value</entry>
155	 <entry>Description</entry>
156	 -->
157	 <entry>値</entry>
158	 <entry>説明</entry>
159	</row>
160       </thead>
161
162       <tbody>
163	<row>
164	 <entry><literal>'shmem'</literal></entry>
165	 <!--
166	 <entry>Use shared memory</entry>
167	 -->
168	 <entry>共有メモリを使用</entry>
169	</row>
170
171	<row>
172	 <entry><literal>'memcached'</literal></entry>
173	 <!--
174	 <entry>Use <ulink url="http://memcached.org/">memcached</ulink></entry>
175	 -->
176	 <entry><ulink url="http://memcached.org/">memcached</ulink>を使用</entry>
177	</row>
178
179       </tbody>
180      </tgroup>
181     </table>
182
183     <para>
184      <!--
185      Default is <literal>'shmem'</literal>.
186      -->
187      デフォルトは<literal>'shmem'</literal>です。
188     </para>
189
190     <para>
191      <!--
192      This parameter can only be set at server start.
193      -->
194      このパラメータはサーバ起動時にのみ設定可能です。
195     </para>
196    </listitem>
197   </varlistentry>
198  </variablelist>
199 </sect2>
200
201 <sect2 id="runtime-in-memory-query-cache-config">
202  <!--
203  <title>Common configurations</title>
204  -->
205  <title>共通設定</title>
206  <para>
207   <!--
208   These below parameter are valid for both <literal>shmem</literal>
209   and <literal>memcached</literal> type query cache.
210   -->
211   以下は<literal>shmem</literal>と<literal>memcached</literal>の両タイプのクエリキャッシュで有効なパラメータです。
212  </para>
213  <variablelist>
214
215   <varlistentry id="guc-memqcacheexpire" xreflabel="memqcache_expire">
216    <term><varname>memqcache_expire</varname> (<type>integer</type>)
217     <indexterm>
218      <!--
219      <primary><varname>memqcache_expire</varname> configuration parameter</primary>
220      -->
221      <primary><varname>memqcache_expire</varname> 設定パラメータ</primary>
222     </indexterm>
223    </term>
224    <listitem>
225     <para>
226      <!--
227      Specifies the life time of query cache in seconds.
228      Default is 0. which means no cache expiration and cache remains
229      valid until the table is updated.
230      -->
231      クエリキャッシュの寿命を秒単位で設定します。
232      デフォルト0で、キャッシュの期限はなくなり、関連テーブルが更新されるまではキャッシュが有効になります。
233     </para>
234     <para>
235      <!--
236      This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
237      -->
238      このパラメータは<productname>Pgpool-II</>の設定を再読み込みすることで変更可能です。
239     </para>
240
241     <note>
242      <para>
243       <!--
244       <varname>memqcache_expire</varname> and
245       <xref linkend="guc-memqcache-auto-cache-invalidation"> are orthogonal to each other.
246       -->
247       <varname>memqcache_expire</varname>と<xref linkend="guc-memqcache-auto-cache-invalidation">は互いに独立です。
248      </para>
249     </note>
250
251    </listitem>
252   </varlistentry>
253
254   <varlistentry id="guc-memqcache-auto-cache-invalidation" xreflabel="memqcache_auto_cache_invalidation">
255    <term><varname>memqcache_auto_cache_invalidation</varname> (<type>boolean</type>)
256     <indexterm>
257      <!--
258      <primary><varname>memqcache_auto_cache_invalidation</varname> configuration parameter</primary>
259      -->
260      <primary><varname>memqcache_auto_cache_invalidation</varname> 設定パラメータ</primary>
261     </indexterm>
262    </term>
263    <listitem>
264     <para>
265      <!--
266      Setting to on, automatically deletes the cache related to the updated tables.
267      When off, cache is not deleted.
268      -->
269      onに設定した場合、更新されたテーブルに関連するキャッシュを自動で削除します。
270      offならばキャッシュは削除されません。
271     </para>
272     <para>
273      <!--
274      Default is on.
275      -->
276      デフォルト値はonです。
277     </para>
278     <note>
279      <para>
280       <!--
281       <varname>memqcache_auto_cache_invalidation</varname>
282       and <xref linkend="guc-memqcacheexpire"> are orthogonal to each other.
283       -->
284       <varname>memqcache_auto_cache_invalidation</varname>と<xref linkend="guc-memqcacheexpire">は互いに独立です。
285      </para>
286     </note>
287     <para>
288      <!--
289      This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
290      -->
291      このパラメータは<productname>Pgpool-II</>の設定を再読み込みすることで変更可能です。
292     </para>
293    </listitem>
294   </varlistentry>
295
296   <varlistentry id="guc-memqcache-maxcache" xreflabel="memqcache_maxcache">
297    <term><varname>memqcache_maxcache</varname> (<type>integer</type>)
298     <indexterm>
299      <!--
300      <primary><varname>memqcache_maxcache</varname> configuration parameter</primary>
301      -->
302      <primary><varname>memqcache_maxcache</varname> 設定パラメータ</primary>
303     </indexterm>
304    </term>
305    <listitem>
306     <para>
307      <!--
308      Specifies the maximum size in bytes of the SELECT query result to be cached.
309      The result with data size larger than this value will not be cached by
310      <productname>Pgpool-II</productname>.
311      When the caching of data is rejected because of the size constraint the following
312      message is shown.
313      -->
314      キャッシュされるSELECTクエリ結果の最大サイズをバイト数で指定します。
315      この値より大きいサイズのデータの結果は<productname>Pgpool-II</productname>にキャッシュされません。
316      サイズの制約によりデータのキャッシュができなかった場合、以下のメッセージが表示されます。
317      <programlisting>
318       LOG:   pid 13756: pool_add_temp_query_cache: data size exceeds memqcache_maxcache. current:4095 requested:111 memq_maxcache:4096
319      </programlisting>
320     </para>
321     <note>
322      <para>
323       <!--
324       For the shared memory query(<literal>'shmem'</literal>) cache the
325       <varname>memqcache_maxcache</varname> must be set lower than
326       <xref linkend="guc-memqcache-cache-block-size"> and for <literal>'memcached'</literal>
327       it must be lower than the size of slab (default is 1 MB).
328       -->
329       共有メモリによるクエリキャッシュ(<literal>'shmem'</literal>)の場合は、<varname>memqcache_maxcache</varname>は<xref linkend="guc-memqcache-cache-block-size">を超えないように、<literal>'memcached'</literal>を使用する場合は、slabのサイズ(デフォルトで1MB)を超えないようにしてください。
330      </para>
331     </note>
332     <para>
333      <!--
334      This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
335      -->
336      このパラメータは<productname>Pgpool-II</>の設定を再読み込みすることで変更可能です。
337     </para>
338    </listitem>
339   </varlistentry>
340
341   <varlistentry id="guc-white-memqcache-table-list" xreflabel="white_memqcache_table_list">
342    <term><varname>white_memqcache_table_list</varname> (<type>string</type>)
343     <indexterm>
344      <!--
345      <primary><varname>white_memqcache_table_list</varname> configuration parameter</primary>
346      -->
347      <primary><varname>white_memqcache_table_list</varname> 設定パラメータ</primary>
348     </indexterm>
349    </term>
350    <listitem>
351
352     <para>
353      <!--
354      Specifies a comma separated list of table names whose
355      SELECT results should be cached by
356      <productname>Pgpool-II</productname>.  This parameter only
357      applies to VIEWs and SELECTs accessing unlogged tables.
358      Regular tables can be cached unless specified
359      by <xref linkend="guc-black-memqcache-table-list">.
360      -->
361      SELECT結果が<productname>Pgpool-II</productname>にキャッシュされるべきテーブル名のリストをカンマ区切りで指定します。
362      このパラメータは、VIEWとunloggedテーブルにのみ適用されます。
363      通常のテーブルは、<xref linkend="guc-black-memqcache-table-list">に記載されていない限りキャッシュされます。
364     </para>
365
366     <para>
367      <!--
368      You can use regular expression into the list to match table name
369      (to which ^ and $ are automatically added).
370      -->
371      テーブル名のマッチングには正規表現も利用できます (指定した各表現に ^ と $ をつけた形で使われます)。
372     </para>
373
374     <note>
375      <para>
376       <!--
377       If the queries can refer the table with and without the schema
378       qualification then you must add both entries(with and without
379       schema name) in the list.
380       -->
381       スキーマ名を付けないテーブル名とスキーマ名を付けた形の両方をクエリの中で使う場合は、両方共リストに登録してください。
382       <programlisting>
383	#For example:
384	#If the queries sometime use "table1" and other times "public.table1"
385	#to refer the table1 then the white_memqcache_table_list
386	#would be configured as follows.
387
388	white_memqcache_table_list = "table1,public.table1"
389
390       </programlisting>
391
392      </para>
393     </note>
394     <note>
395      <para>
396       <!--
397       <varname>black_memqcache_table_list</varname> takes
398       precedence over <xref linkend="guc-white-memqcache-table-list">
399       -->
400       <varname>black_memqcache_table_list</varname>は<xref linkend="guc-white-memqcache-table-list">より優先されます。
401      </para>
402     </note>
403     <para>
404      <!--
405      This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
406      -->
407      このパラメータは<productname>Pgpool-II</>の設定を再読み込みすることで変更可能です。
408     </para>
409    </listitem>
410   </varlistentry>
411
412   <varlistentry id="guc-black-memqcache-table-list" xreflabel="black_memqcache_table_list">
413    <term><varname>black_memqcache_table_list</varname> (<type>string</type>)
414     <indexterm>
415      <!--
416      <primary><varname>black_memqcache_table_list</varname> configuration parameter</primary>
417      -->
418      <primary><varname>black_memqcache_table_list</varname> 設定パラメータ</primary>
419     </indexterm>
420    </term>
421    <listitem>
422     <para>
423      <!--
424      Specifies a comma separated list of table names whose SELECT
425      results should <emphasis>NOT</emphasis> be cached by the <productname>
426      Pgpool-II</productname>.
427      -->
428      SELECT結果が<productname>Pgpool-II</productname>にキャッシュされる<emphasis>べきでない</emphasis>テーブル名のリストをカンマ区切りで指定します。
429     </para>
430
431     <para>
432      <!--
433      You can use regular expression into the list to match table name
434      (to which ^ and $ are automatically added),
435      -->
436      テーブル名のマッチングには正規表現も利用できます (指定した各表現に ^ と $ をつけた形で使われます)。
437     </para>
438
439     <note>
440      <para>
441       <!--
442       If the queries can refer the table with and without the schema
443       qualification then you must add both entries(with and without
444       schema name) in the list.
445       -->
446       スキーマ名を付けないテーブル名とスキーマ名を付けた形の両方をクエリの中で使う場合は、両方共リストに登録してください。
447       <programlisting>
448	#For example:
449	#If the queries sometime use "table1" and other times "public.table1"
450	#to refer the table1 then the black_memqcache_table_list
451	#would be configured as follows.
452
453	black_memqcache_table_list = "table1,public.table1"
454
455       </programlisting>
456
457      </para>
458     </note>
459     <para>
460      <!--
461      This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
462      -->
463      このパラメータは<productname>Pgpool-II</>の設定を再読み込みすることで変更可能です。
464     </para>
465    </listitem>
466   </varlistentry>
467
468   <varlistentry id="guc-memqcache-oiddir" xreflabel="memqcache_oiddir">
469    <term><varname>memqcache_oiddir</varname> (<type>string</type>)
470     <indexterm>
471      <!--
472      <primary><varname>memqcache_oiddir</varname> configuration parameter</primary>
473      -->
474      <primary><varname>memqcache_oiddir</varname> 設定パラメータ</primary>
475     </indexterm>
476    </term>
477    <listitem>
478     <para>
479      <!--
480      Specifies the full path to the directory for storing the
481      <literal>oids</literal> of tables used by SELECT queries.
482      -->
483      SELECTクエリが使用するテーブルに<literal>OID</literal>を格納するディレクトリへのフルパスで指定します。
484
485     </para>
486     <para>
487      <!--
488      <varname>memqcache_oiddir</varname> directory contains the sub directories
489      for the databases. The directory name is the OID of the database. In addition, each
490      database directory contains the files for each table used by SELECT statement.
491      Again the name of the file is the OID of the table.
492      These files contains the pointers to query cache which are used as key for
493      deleting the caches.
494      -->
495      <varname>memqcache_oiddir</varname>には、各データベースのためのディレクトリが格納されます。
496      そのディレクトリ名はデータベースのOIDです。
497      更に、各データベースディレクトリの下には各テーブルのためのファイルが格納されます。
498      そのファイル名は同じくテーブルのOIDです。
499      これらのファイルの中にはクエリキャッシュへのポインタが格納されており、 キャッシュを削除する際のキーとして使われます。
500     </para>
501     <note>
502      <para>
503       <!--
504       Normal restart of <productname>Pgpool-II</productname> does not clear the
505       contents of <varname>memqcache_oiddir</varname>.
506       -->
507       <productname>Pgpool-II</productname>の通常の再起動では<varname>memqcache_oiddir</varname>の中身はクリアされません。
508      </para>
509     </note>
510     <para>
511      <!--
512      This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
513      -->
514      このパラメータは<productname>Pgpool-II</>の設定を再読み込みすることで変更可能です。
515     </para>
516    </listitem>
517   </varlistentry>
518
519  </variablelist>
520 </sect2>
521
522 <sect2 id="runtime-in-memory-query-cache-shmem-config">
523  <!--
524  <title>Configurations to use shared memory</title>
525  -->
526  <title>共有メモリ使用時の設定</title>
527
528  <para>
529   <!--
530   These are the parameters used with shared memory as the cache storage.
531   -->
532   これらはキャッシュストレージとして共有メモリを使用した場合に使われるパラメーターです。
533  </para>
534
535  <variablelist>
536
537   <varlistentry id="guc-memqcache-total-size" xreflabel="memqcache_total_size">
538    <term><varname>memqcache_total_size</varname> (<type>integer</type>)
539     <indexterm>
540      <!--
541      <primary><varname>memqcache_total_size</varname> configuration parameter</primary>
542      -->
543      <primary><varname>memqcache_total_size</varname> 設定パラメータ</primary>
544     </indexterm>
545    </term>
546    <listitem>
547     <para>
548      <!--
549      Specifies the shared memory cache size in bytes.
550      -->
551      共有メモリのキャッシュサイズをバイト単位で指定します。
552     </para>
553     <para>
554      <!--
555      This parameter can only be set at server start.
556      -->
557      このパラメータはサーバ起動時にのみ設定可能です。
558     </para>
559    </listitem>
560   </varlistentry>
561
562   <varlistentry id="guc-memqcache-max-num-cache" xreflabel="memqcache_max_num_cache">
563    <term><varname>memqcache_max_num_cache</varname> (<type>integer</type>)
564     <indexterm>
565      <!--
566      <primary><varname>memqcache_max_num_cache</varname> configuration parameter</primary>
567      -->
568      <primary><varname>memqcache_max_num_cache</varname> 設定パラメータ</primary>
569     </indexterm>
570    </term>
571    <listitem>
572     <para>
573      <!--
574      Specifies the number of cache entries. This is used to define the size of cache management space.
575      -->
576      キャッシュエントリの数を指定します。
577      この設定項目は、キャッシュの管理領域の大きさを決めるために使用します。
578     </para>
579     <note>
580      <para>
581       <!--
582       The management space size can be calculated by:
583       <varname>memqcache_max_num_cache</varname> * 48 bytes.
584       Too small number will cause an error while registering cache.
585       On the other hand too large number will just waste space.
586       -->
587       管理領域の大きさは、<varname>memqcache_max_num_cache</varname> * 48バイトで計算できます。
588       少なすぎるとキャッシュを登録することができずにエラーになります。
589       逆に多すぎると単に空間の無駄になります。
590      </para>
591     </note>
592     <para>
593      <!--
594      This parameter can only be set at server start.
595      -->
596      このパラメータはサーバ起動時にのみ設定可能です。
597     </para>
598    </listitem>
599   </varlistentry>
600
601   <varlistentry id="guc-memqcache-cache-block-size" xreflabel="memqcache_cache_block_size">
602    <term><varname>memqcache_cache_block_size</varname> (<type>integer</type>)
603     <indexterm>
604      <!--
605      <primary><varname>memqcache_cache_block_size</varname> configuration parameter</primary>
606      -->
607      <primary><varname>memqcache_cache_block_size</varname> 設定パラメータ</primary>
608     </indexterm>
609    </term>
610    <listitem>
611     <para>
612      <!--
613      Specifies the cache block size. <productname>Pgpool-II</productname> uses the
614      cache memory arranged in <varname>memqcache_cache_block_size</varname> blocks.
615      SELECT result is packed into the block and must fit in a single block.
616      Therefore, the results larger than <varname>memqcache_cache_block_size</varname> are
617      not cached.
618      -->
619      キャッシュのブロックサイズを指定します。
620      <productname>Pgpool-II</productname>は<varname>memqcache_cache_block_size</varname>のブロックで管理されたキャッシュメモリを利用します。
621      SELECT結果はこのブロックに詰め込まれ、1つのブロックに収まらなければなりません。
622      従って、<varname>memqcache_cache_block_size</varname>を検索結果が超えると、キャッシュされません。
623     </para>
624
625     <para>
626      <!--
627      <varname>memqcache_cache_block_size</varname> must be set to atleast 512.
628      -->
629      <varname>memqcache_cache_block_size</varname>は、512以上の値でなければなりません。
630     </para>
631
632     <para>
633      <!--
634      This parameter can only be set at server start.
635      -->
636      このパラメータはサーバ起動時にのみ設定可能です。
637     </para>
638    </listitem>
639   </varlistentry>
640
641  </variablelist>
642 </sect2>
643
644 <sect2 id="runtime-in-memory-query-cache-memcached-config">
645  <!--
646  <title>Configurations to use memcached</title>
647  -->
648  <title>memcached使用時の設定</title>
649
650  <para>
651   <!--
652   These are the parameters used with memcached as the cache storage.
653   -->
654   これらはキャッシュストレージとしてmemcachedを使用した場合に使われるパラメーターです。
655  </para>
656
657  <variablelist>
658
659   <varlistentry id="guc-memqcache-memcached-host" xreflabel="memqcache_memcached_host">
660    <term><varname>memqcache_memcached_host</varname> (<type>string</type>)
661     <indexterm>
662      <!--
663      <primary><varname>memqcache_memcached_host</varname> configuration parameter</primary>
664      -->
665      <primary><varname>memqcache_memcached_host</varname> 設定パラメータ</primary>
666     </indexterm>
667    </term>
668    <listitem>
669     <para>
670      <!--
671      Specifies the host name or the IP address on which <literal>memcached</literal>
672      works. You can use <literal>'localhost'</literal> if <literal>memcached</literal>
673      and <productname>Pgpool-II</productname> resides on same server.
674      -->
675      <literal>memcached</literal>が動いているホスト名またはIPアドレスを指定します。
676      <productname>Pgpool-II</productname>と同じマシンで<literal>memcached</literal>を動かす場合は、<literal>'localhost'</literal>が使えます。
677     </para>
678     <para>
679      <!--
680      This parameter can only be set at server start.
681      -->
682      このパラメータはサーバ起動時にのみ設定可能です。
683     </para>
684    </listitem>
685   </varlistentry>
686
687   <varlistentry id="guc-memqcache-memcached-port" xreflabel="memqcache_memcached_port">
688    <term><varname>memqcache_memcached_port</varname> (<type>integer</type>)
689     <indexterm>
690      <!--
691      <primary><varname>memqcache_memcached_port</varname> configuration parameter</primary>
692      -->
693      <primary><varname>memqcache_memcached_port</varname> 設定パラメータ</primary>
694     </indexterm>
695    </term>
696    <listitem>
697     <para>
698      <!--
699      Specifies the port number of <acronym>memcached</acronym>.
700      Default is 11211.
701      -->
702      <acronym>memcached</acronym>のポート番号を指定します。
703      デフォルトは 11211 です。
704
705     </para>
706     <para>
707      <!--
708      This parameter can only be set at server start.
709      -->
710      このパラメータはサーバ起動時にのみ設定可能です。
711     </para>
712    </listitem>
713   </varlistentry>
714
715  </variablelist>
716 </sect2>
717
718</sect1>
719