Sha256: f4ae8ee0ce84ddd9f3452989388661b923fd49afaa59d588992fe6cd9dd67b69

Contents?: true

Size: 981 Bytes

Versions: 2

Compression:

Stored size: 981 Bytes

Contents

.. highlightlang:: none

cache_limit
===========

名前
----

cache_limit - cacheサイズの設定・取得

書式
----
::

 cache_limit max

説明
----

groonga組込コマンドの一つであるcache_limitについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。

cache_limitは、クエリキャッシュの最大件数を取得したり設定したりします。

引数
----

``max``

  クエリキャッシュの最大件数を整数で指定します。
  maxが指定されなかった場合には、クエリキャッシュの最大件数は変更せず、
  現在の設定値のみが返されます。

返値
----

json
^^^^

::

 [以前の設定値]

 ``以前の設定値``

   すでに設定されていたクエリキャッシュの最大件数を返す。

例
--
::

 cache_limit 4
 [100]

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rroonga-1.0.1-x86-mingw32 vendor/local/share/groonga/doc/ja/source/commands/cache_limit.txt
rroonga-1.0.1-x86-mingw32 vendor/local/share/groonga/doc/ja/html/_sources/commands/cache_limit.txt