Navigation Menu

Skip to content
Masafumi Yokoyama edited this page Mar 30, 2015 · 42 revisions

5.01 en for Groonta-talk

Hi,

Mroonga 5.01 has been released!

Mroonga is a MySQL storage engine that supports fast
fulltext search and geolocation search. It is CJK ready.
It uses groonga as a storage and fulltext search engine.

  http://mroonga.org/docs/news.html#release-5-01
  http://mroonga.org/en/blog/2015/03/29/release.html

Document:  http://mroonga.org/docs/
Install:   http://mroonga.org/docs/install.html
Upgrade:   http://mroonga.org/docs/upgrade.html

Topics

* Supported utf8_unicode_520_ci and utf8mb4_unicode_520_ci
* Supported Percona Server on CentOS 6/7
* [Experimental] Start to support MySQL 5.7

## Supported utf8_unicode_520_ci and utf8mb4_unicode_520_ci

You can specify utf8_unicode_520_ci or utf8mb4_unicode_520_ci to COLLATION.
But the feature depends on groonga-normalizer-mysql(*1) 1.0.9 (the latest version).

(*1) https://github.com/groonga/groonga-normalizer-mysql

utf8_unicode_520_ci and utf8mb4_unicode_520_ci are the UCA 5.2.0 version of
utf8_unicode_ci and utf8mb4_unicode_ci. utf8_unicode_520_ci and utf8mb4_unicode_520_ci
are not supported in groonga-normalizer-mysql of 1.0.8 and earlier versions so
they were replacing with the default normalizer (NormalizerAuto). Since the latest
version, MySQL compatible normalizer (NormalizerMySQLUnicode520CI) is used so
the behavior is close to MySQL.

Please update Mroonga carefully if you use utf8_unicode_520_ci or utf8mb4_unicode_520_ci,
because the behavior changes at using COLLATION by such as the database reconstruction and
column addition.

The following link will help you to specify COLLATION:

4.3.4. How to specify the normalizer — Mroonga v5.01 documentation
http://mroonga.org/docs/tutorial/storage.html#how-to-specify-the-normalizer

## Supported Percona Server on CentOS 6/7

We support Percona Server(*2) that is a MySQL compatible database server. We
provide Mroonga with Percona Server packages for CentOS 6 and 7. Please see
documentation(*3) for how to install.

(*2) http://www.percona.com/software/percona-server
(*3) http://mroonga.org/docs/install/centos.html

## [Experimental] Start to support MySQL 5.7

We start to support MySQL 5.7 but it is not official support because MySQL 5.7
is development stage. It may include updated InnoDB FTS feature from MySQL 5.6.
We are happy if you tell us the result of evaluation of Mroonga and InnoDB FTS.

We welcome your feedback!

# Changes

## Improvements

  * [storage] Supported ``PARTITION BY RANGE``. Note that this feature is not supported on MariaDB 10.
    This limitation is derived from MariaDB 10 architecture about removing .par file.
  * [mysql56] Disabled in-place ``ALTER TABLE`` for ``PRIMARY KEY``. This change is derived from Groonga's limitation because Groonga doesn't support to change table key type. [Reported by Hiromitsu KATO]
  * Dropped Visual Studio 2010 and Visual Studio 2012 support. Use Visual Studio 2013 or later to build Mroonga. [GitHub#45]
  * [windows] Added Visual Studio 2015 build support.
  * Supported to specify options by table comment when primary key is using hash by ``PRIMARY KEY (...) USING HASH``.
    [GitHub#46] [Patch by Naoya Murakami]
  * Supported index column flags by index comment. You can specify ``NONE``, ``WITH_POSITION``, ``WITH_SECTION`` and ``WITH_WEIGHT`` as index column flags. Use ``FULLTEXT INDEX (...) COMMENT 'index_flags "WITH_POSITION|WITH_SECTION"'`` for example. [GitHub#47] [Patch by Naoya Murakami]
  * Supported to build with MySQL 5.7.
  * [rpm][centos] Supported Percona Server 5.6.x on CentOS 6/7. [Tested on CentOS 6 by Yoshino]
  * Supported ``utf8_unicode_520_ci`` and ``utf8mb4_unicode_520_ci``. To support these collations, Mroonga now requires `groonga-normalizer-mysql <https://github.com/groonga/groonga-normalizer-mysql>`_ 1.0.9.

## Fixes

  * Changed to store score in float. This backward incompatible change is derived from the Groonga DB API change in Groonga 5.0.1. There may be a case the value of score is different.
  * Added missing error check when failed to create multiple column index in in-place ``ALTER TABLE``.
  * [mariadb] Fixed crash bug when ``SET`` variable is used. This bug depends on MariaDB version. (<= 5.5.41 and <= 10.0.16)
  * [rpm][centos] Fixed release number for CentOS 7. [GitHub#44] [Reported by CharAz]
  * [mariadb55] Fixed install failure after installing and uninstalling Mroonga.

## Thanks

  * Hiromitsu KATO
  * Naoya Murakami
  * Yoshino
  * CharAz

5.01 ja for groonga-dev

  • MySQL 5.7はビルドできるようになったよ、という案内をする。なので試してフィードバックをもらいたい旨を書いておこう。
  • InnoDB FTSと比較してみてね、というのもいれておきたい(すとうさん曰く)
今日は肉の日(3/29)ですね。Mroonga 5.01をリリースしました!

  http://mroonga.org/ja/docs/news.html#release-5-01

ドキュメント:
  http://mroonga.org/ja/
インストールガイド:
  http://mroonga.org/ja/docs/install.html
アップグレード方法:
  http://mroonga.org/ja/docs/upgrade.html

今回のリリースのハイライトは以下です。

* utf8_unicode_520_ciとutf8mb4_unicode_520_ciをサポート
* CentOS 6/7でPercona Serverをサポート
* [実験的] MySQL 5.7のサポートを開始

## utf8_unicode_520_ciとutf8mb4_unicode_520_ciをサポート

COLLATION(照合順序)にutf8_unicode_520_ciとutf8mb4_unicode_520_ciを指定できるよ
うになりました。ただし、これらを使うためにはgroonga-normalizer-mysql(*)の
最新バージョン(1.0.9)が必要です。

(*) https://github.com/groonga/groonga-normalizer-mysql

utf8_unicode_520_ciとutf8mb4_unicode_520_ciは、utf8_unicode_ciとutf8mb4_unicode_ci
のUCA 5.2.0版です。1.0.8以前のgroonga-normalizer-mysqlは対応しておらず、未対応の
場合に使われるノーマライザー(NormalizerAuto)にフォールバックしていました。この
バージョンからはMySQL互換のノーマライザー(NormalizerMySQLUnicode520CI)が使われ
るようになるため、よりMySQLに近い挙動になります。

今までutf8_unicode_520_ciやutf8mb4_unicode_520_ciを使っていた方は、データベースを
作り直したり新しくカラムを追加したりしてCOLLATIONが使われるタイミングで挙動が変わ
るので注意してアップデートしてください。

照合順序の指定方法については、以下のリンク先を参考にしてください。

4.3.4. ノーマライザーの指定方法 — Mroonga v5.01 documentation
http://mroonga.org/ja/docs/tutorial/storage.html#how-to-specify-the-normalizer

MroongaでMySQL互換の照合順序を使うには - Qiita
http://qiita.com/groonga/items/41d12f16b091426d2158

## CentOS 6/7でPercona Serverをサポート

MySQLと非常に高い互換性を持つMySQLの派生プロダクトであるPercona Serverをサポート
しました。CentOSの6と7向けにパッケージを提供しています。インストール方法はドキュメ
ント(*)をご覧ください。

(*) http://mroonga.org/ja/docs/install/centos.html

## [実験的] MySQL 5.7のサポートを開始

MySQL 5.7のサポートを開始しました。ただし、MySQL 5.7はまだ評価版という扱いなので、
正式サポートではありません。MySQL 5.6から追加されている全文検索機能のInnoDB FTSが
改良されていたりするようなので、興味がある方はMroongaと両方試してベンチマークなど
を取ってもらえるととてもうれしいです。

みなさんからのフィードバックをお待ちしています!

# 変更点

5.00からの変更点は以下の通りです。
  http://mroonga.org/ja/docs/news.html#release-5-01

## 改良

  * [ストレージモード] PARTITION BY RANGE をサポートしました。この機能は MariaDB 10.xではサポートしていません。これはMariaDB 10.xが.parファイルを削除する仕様に由来する制限です。
  * [mysql56] PRIMARY KEY に対してコピーせずに ALTER TABLE できなくしました。この変更はGroongaの制限によるものです。Groongaではテーブルのキーの変更をサポートしていません。 [加藤さんが報告]
  * Visual Studio 2010 と Visual Studio 2012 のサポートをやめました。Visual Studio 2013 以降をMroongaのビルドに使ってください。 [GitHub#45]
  * [windows] Visual Studio 2015でビルドできるようにしました。
  * プライマリーキーに PRIMARY KEY (...) USING HASH を指定しているときに、そのテーブルのコメントにオプションを指定できるようにしました。[GitHub#46] [村上さんがパッチ提供]
  * インデックスカラムのフラグをインデックスのコメントに指定できるようにしました。 NONE や WITH_POSITION 、 WITH_SECTION や WITH_WEIGHT がインデックスカラムのフラグとして使えます。[GitHub#47] [村上さんがパッチ提供]
  * MySQL 5.7でビルドできるようになりました。
  * [rpm][centos] CentOS 6とCentOS 7でPercona Server 5.6.xをサポートしました。[吉野さんがCentOS 6でテスト]
  * utf8_unicode_520_ci と utf8mb4_unicode_520_ci をサポートしました。これらの照合順序をサポートするために、Mroongaは groonga-normalizer-mysql 1.0.9 以降を必要とするようになりました。

## 修正

  * スコアを浮動小数点で保持するように変更しました。この変更は非互換な変更で、GroongaのDB APIがGroonga 5.0.1で変更されたことに伴います。スコアの値がこれまでと違ってしまうことがあるかも知れません。
  * ALTER TABLE で複数のカラムインデックスを作成するのに失敗したときのエラーチェックがなかったので追加しました。
  * [mariadb] SET variableしたときにクラッシュする不具合を修正しました。この不具合はMariaDBのバージョンに依存します。 (<= 5.5.41 と <= 10.0.16)
  * [rpm][centos] CentOS 7でパッケージのリリースバージョンを修正しました。[GitHub#44] [CharAzさんが報告]
  * [mariadb55] インストール、アンインストールしてから再度インストールしようとすると失敗するのを修正しました。

## 感謝

  * 加藤さん
  * 村上さん
  * 吉野さん
  * CharAzさん
Clone this wiki locally