"Fossies" - the Fresh Open Source Software Archive

Member "mroonga-12.04/doc/source/news/1.x.rst" (6 Jun 2022, 10147 Bytes) of package /linux/misc/mroonga-12.04.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

News - 1.x

Release 1.20 - 2012/01/29

Caution

This release breaks backward compatibility. We need to dump and restore our database for upgrading.

In this release, mroonga has two changes that requires database recreation:

  1. Storage engine name is changed to "mroonga" from "groonga".
  2. Groonga's native time data type is used for DATE, DATETIME and TIMESTAMP type in MySQL.

We need to modify dumped database to change "ENGINE=groonga" in "CREATE TABLE" SQL. Here are upgrade sequence.

We dump a database that uses mroonga:

% mysqldump MY_MROONGA_DATABASE > database-groonga.dump

We convert storage engine in dump file:

% sed -e 's/^) ENGINE=groonga/) ENGINE=mroonga/' database-groonga.dump > database-mroonga.dump

We confirm that ENGINE=groonga only in CREATE TABLE is replaced with ENGINE=mroonga. We need to check @@ ... @@ line includes CREATE TABLE. If the line includes CREATE TABLE, the hunk will be a change for CREATE TABLE:

% diff -up database-groonga.dump database-mroonga.dump
--- database-groonga.dump 2012-01-29 16:53:20.732624670 +0900
+++ database-mroonga.dump 2012-01-29 16:54:47.608420981 +0900
@@ -29,7 +29,7 @@ CREATE TABLE `diaries` (
   PRIMARY KEY (`id`),
   FULLTEXT KEY `title_index` (`title`),
   FULLTEXT KEY `body_index` (`body`)
-) ENGINE=groonga DEFAULT CHARSET=utf8;
+) ENGINE=mroonga DEFAULT CHARSET=utf8;
 /*!40101 SET character_set_client = @saved_cs_client */;

 --

We drop the existing database:

% mysql -u root -e 'DROP DATABASE MY_MROONGA_DATABASE'

We upgrade to "mroonga" storage engine. We will use apt-get on Debian GNU/Linux or Ubuntu and yum on CentOS or Fedora.

apt-get:

% sudo apt-get install -y mysql-server-mroonga

yum:

% sudo yum remove -y mysql-mroonga
% sudo yum install -y mysql-mroonga

Caution

We don't forget to run yum remove before yum install. If we forget to run yum remove, we will break a MySQL's system table.

We recreate a database:

% mysql -u root -e 'CREATE DATABASE MY_MROONGA_DATABASE'

We restore a database by modified dump file:

% mysql -u root MY_MROONGA_DATABASE < database-mroonga.dump

Now, we can use mroonga 1.20.

Improvements

Fixes

Thanks

Release 1.11 - 2011/12/29

Improvements

Fixes

Thanks

Release 1.10 - 2011/11/29

Since this release, this project and product is called "mroonga" instead of "groonga storage engine".

This release introduces MariaDB support and fixes several bugs.

Improvements

Fixes

Thanks

Release 1.0.1 - 2011/10/29

The important changes in this release are the enhancement of geolocation search and the improvement of dynamic index modification in storage mode.

Improvements

Fixes

Thanks

1.0.0 リリース - 2011/09/29

初回リリースから約1年経って、初のメジャーリリース!

改良

修正

感謝