[Groonga-commit] groonga/groonga at 995a938 [master] doc: GRN_II_REDUCE_EXPIRE_ENABLE -> GRN_II_REDUCE_EXPIRE_THRESHOLD

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 29 09:17:25 JST 2018


Kouhei Sutou	2018-01-29 09:17:25 +0900 (Mon, 29 Jan 2018)

  New Revision: 995a9389e8f2c18db2f2b83963698cfdd52de251
  https://github.com/groonga/groonga/commit/995a9389e8f2c18db2f2b83963698cfdd52de251

  Message:
    doc: GRN_II_REDUCE_EXPIRE_ENABLE -> GRN_II_REDUCE_EXPIRE_THRESHOLD

  Modified files:
    doc/locale/ja/LC_MESSAGES/news.po
    doc/source/news.rst

  Modified: doc/locale/ja/LC_MESSAGES/news.po (+18 -6)
===================================================================
--- doc/locale/ja/LC_MESSAGES/news.po    2018-01-27 16:04:18 +0900 (ff29e1cd6)
+++ doc/locale/ja/LC_MESSAGES/news.po    2018-01-29 09:17:25 +0900 (c74cbb721)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 1.2.4\n"
 "Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2017-11-29 09:09+0900\n"
+"PO-Revision-Date: 2018-01-29 09:16+0900\n"
 "Last-Translator: Masafumi Yokoyama <yokoyama �� clear-code.com>\n"
 "Language-Team: Japanese\n"
 "Language: ja\n"
@@ -86,12 +86,24 @@ msgstr ""
 "量を節約できます。パフォーマンス上のデメリットはありません。"
 
 msgid ""
-"Added environment variable to disable reducing expire "
-"``GRN_II_REDUCE_EXPIRE_ENABLE=no`` disables. It's enabled by default."
+"[:ref:`online-index-construction`] Added ``GRN_II_REDUCE_EXPIRE_THRESHOLD`` "
+"environment variable to control when memory maps are expired in index "
+"column. It's ``-1`` by default. It means that expire timing is depends on "
+"index column size. If index column is smaller, expire timing is more. If "
+"index column is larger, expire timing is less."
 msgstr ""
-" ``expire`` の頻度を削減する環境変数を追加しました。 "
-"``GRN_II_REDUCE_EXPIRE_ENABLE=no`` が無効になり、 "
-"``GRN_II_REDUCE_EXPIRE_ENABLE`` はデフォルトで有効となります。"
+"[:ref:`online-index-construction`] インデックスカラム内のメモリーマップをいつ"
+"開放するかをコントロールする環境変数 ``GRN_II_REDUCE_EXPIRE_THRESHOLD`` を追"
+"加しました。デフォルトは ``-1`` です。 ``-1`` のときはインデックスカラムのサ"
+"イズによって動的に開放するタイミングを決めます。インデックスカラムが小さけれ"
+"ば頻繁に解放し、大きければ頻度を下げます。"
+
+msgid ""
+"You can use the previous behavior by ``0``. It means that Groonga always "
+"tries to expire."
+msgstr ""
+"``0`` を設定すると従来と同じ挙動になります。従来の挙動とは、Groongaは開放でき"
+"そうなときはいつも開放しようとするという挙動です。"
 
 msgid ""
 "[:doc:`/reference/commands/logical_range_filter`] [:ref:`logical-range-"

  Modified: doc/source/news.rst (+9 -2)
===================================================================
--- doc/source/news.rst    2018-01-27 16:04:18 +0900 (7a16a0cc6)
+++ doc/source/news.rst    2018-01-29 09:17:25 +0900 (c5e1a5291)
@@ -42,8 +42,15 @@ Improvements
 * [Windows] Changed to use sparse file on Windows. It reduces disk
   space and there are no performance demerit.
 
-* Added environment variable to disable reducing expire
-  ``GRN_II_REDUCE_EXPIRE_ENABLE=no`` disables. It's enabled by default.
+* [:ref:`online-index-construction`] Added
+  ``GRN_II_REDUCE_EXPIRE_THRESHOLD`` environment variable to control
+  when memory maps are expired in index column. It's ``-1`` by
+  default. It means that expire timing is depends on index column
+  size. If index column is smaller, expire timing is more. If index
+  column is larger, expire timing is less.
+
+  You can use the previous behavior by ``0``. It means that Groonga
+  always tries to expire.
 
 * [:doc:`/reference/commands/logical_range_filter`]
   [:ref:`logical-range-filter-post-filter`] Added a new filter timing.
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180129/d25a22a7/attachment-0001.htm 



More information about the Groonga-commit mailing list
Back to archive index