Skip to content

Commit 6b71538

Browse files
committed
Doc: enhance query cache documents.
Mention that we can use PGPOOL SET CACHE DELETE or pcp_invalidate_query_cache command to delete query cache.
1 parent 4871a30 commit 6b71538

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

doc.ja/src/sgml/memcache.sgml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
/*NO QUERY CACHE*/SELECT now();
4040
</programlisting>
4141
Because it just prevents to create a cache entry for the query, and
42-
does not affect the query using the FORCE QUERY CACHE comment.
42+
does not affect the query using the FORCE QUERY CACHE comment. You
43+
can delete such a query cache by
44+
using <xref linkend="SQL-PGPOOL-SET-CACHE"> command,
45+
or <xref linkend="PCP-INVALIDATE-QUERY-CACHE"> command.
4346
</programlisting>
4447
Because it just prevents to create a cache entry for the query, and
4548
does not affect the query using the FORCE QUERY CACHE comment.
@@ -60,6 +63,7 @@
6063
/*NO QUERY CACHE*/SELECT now();
6164
</programlisting>
6265
なぜなら、これはこのクエリのキャッシュエントリが作成されないようにするだけで、FORCE QUERY CACHEコメントを使ったクエリには影響を与えないからです。
66+
このようなクエリキャッシュは、<xref linkend="SQL-PGPOOL-SET-CACHE">コマンドか、<xref linkend="PCP-INVALIDATE-QUERY-CACHE">コマンドで削除できます。
6367
</para>
6468
<para>
6569
<!--

doc/src/sgml/memcache.sgml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
/*NO QUERY CACHE*/SELECT now();
4040
</programlisting>
4141
Because it just prevents to create a cache entry for the query, and
42-
does not affect the query using the FORCE QUERY CACHE comment.
42+
does not affect the query using the FORCE QUERY CACHE comment. You
43+
can delete such a query cache by
44+
using <xref linkend="SQL-PGPOOL-SET-CACHE"> command,
45+
or <xref linkend="PCP-INVALIDATE-QUERY-CACHE"> command.
4346
</para>
4447
<para>
4548
Note that for following query:

0 commit comments

Comments
 (0)