HAYASHI Kentaro
null+****@clear*****
Thu Nov 28 15:04:48 JST 2013
HAYASHI Kentaro 2013-11-28 15:04:48 +0900 (Thu, 28 Nov 2013) New Revision: 027f22b3df87dcbcdb6770602b1335ed0d3eaa4d https://github.com/groonga/groonga.org/commit/027f22b3df87dcbcdb6770602b1335ed0d3eaa4d Message: blog: add 3.1.0 release entry Added files: en/_posts/2013-11-29-release.textile ja/_posts/2013-11-29-release.textile Added: en/_posts/2013-11-29-release.textile (+57 -0) 100644 =================================================================== --- /dev/null +++ en/_posts/2013-11-29-release.textile 2013-11-28 15:04:48 +0900 (b75ea57) @@ -0,0 +1,57 @@ +--- +layout: post.en +title: Groonga 3.1.0 has been released +description: Groonga 3.1.0 has been released! +published: false +--- + +h2. Groonga 3.1.0 has been released + +"Groonga 3.1.0":/docs/news.html#release-3-1-0 has been released! + +How to install: "Install":/docs/install.html + +There are three topics in this release. + +h3. Supported an option to skip updating for the same value + +Groonga now supports option to skip updating for the same value. This feature is enabled by setting GRN_JA_SKIP_SAME_VALUE_PUT=yes as environment variable. + +If you install Groonga as deb or rpm packages, you can customize default configuration file. + +<pre> +#GRN_JA_SKIP_SAME_VALUE_PUT=yes +</pre> + +Here are the list of configuration files. + +Debian or Ubuntu: + +<pre> +/etc/default/groonga-httpd +/etc/default/groonga-server-http +/etc/default/groonga-server-gqtp +</pre> + +CentOS or Fedora: + +<pre> +/etc/sysconfig/groonga-httpd +/etc/sysconfig/groonga-server-http +/etc/sysconfig/groonga-server-gqtp +/etc/systemd/groonga-httpd +/etc/systemd/groonga-server-http +/etc/systemd/groonga-server-gqtp +</pre> + +Groonga inevitable to increase the size of database by updating column of variable length in long term. + +By setting this environment variable, Groonga doesn't update column of variable length if the same value is given. + +This option is disabled in the default because this feature is not stabilized yet. There is a case that the size of database increases conversely. + +h3. Conclusion + +See "Release 3.1.0 2013/11/29":/docs/news.html#release-3-1-0 about detailed changes since 3.0.9. + +Let's search by Groonga! Added: ja/_posts/2013-11-29-release.textile (+62 -0) 100644 =================================================================== --- /dev/null +++ ja/_posts/2013-11-29-release.textile 2013-11-28 15:04:48 +0900 (2f6cd78) @@ -0,0 +1,62 @@ +--- +layout: post.ja +title: Groonga 3.1.0リリース +description: Groonga 3.1.0をリリースしました! +published: false +--- + +今日は "全文検索エンジンGroongaを囲む夕べ4":http://atnd.org/events/43461 の開催日ですね。 + +h2. Groonga 3.1.0リリース + +"Groonga 3.1.0":/ja/docs/news.html#release-3-1-0 をリリースしました! + +それぞれの環境毎のインストール方法: "インストール":/ja/docs/install.html + +h3. [実験的] 同じ値なら更新をスキップするオプションのサポート + +今回のリリースでは、同じ値なら更新をスキップするオプションのサポートしました。 +GRN_JA_SKIP_SAME_VALUE_PUT=yesを環境変数に設定すると有効になります。 + +パッケージでインストールした場合には設定ファイルのコメントアウトされている箇所をはずすと有効になります。 + +<pre> +#GRN_JA_SKIP_SAME_VALUE_PUT=yes +</pre> + +設定ファイルはディストリビューションごとに次の場所にあります。 + + +DebianやUbuntu: + +<pre> +/etc/default/groonga-httpd +/etc/default/groonga-server-http +/etc/default/groonga-server-gqtp +</pre> + +CentOSやFedora: + +<pre> +/etc/sysconfig/groonga-httpd +/etc/sysconfig/groonga-server-http +/etc/sysconfig/groonga-server-gqtp +/etc/systemd/groonga-httpd +/etc/systemd/groonga-server-http +/etc/systemd/groonga-server-gqtp +</pre> + +Groongaでは参照ロックフリーで高速に検索できるようにするのと、アトミックに更新するために都度値をコピーしてから参照先のポインタを差し替えるような振舞いで実現しています。 +そのため可変長カラムの値を更新しつづけると、全く同じ値で更新した場合でも都度領域を消費していくので、データベースが徐々に肥大していきます。 + +そこで、データベースの肥大化を抑制する目的で同じ値のときは更新しないオプションを用意しました。 + +デフォルトではこの機能は無効です。これは、逆にデータベースのサイズの肥大化が加速したケースがあったからです。 +そのため、実験的な扱いとなっています。もし、肥大化が顕著なケースに限って試されることをおすすめします。 + + +h3. さいごに + +3.0.9からの詳細な変更点は "3.1.0リリース 2013/11/29":/ja/docs/news.html#release-3-1-0 を確認してください。 + +それでは、Groongaでガンガン検索してください! -------------- next part -------------- HTML����������������������������...Download