MySQL 5.5より、インデックスへのコメント付与が可能となりました。 全文検索エンジンmroongaは、その機能を用いてFULLTEXTインデックスの生成方法を変えております。 インデックスコメントについての情報が少なかったので、紹介したいと思います。 テーブル構成 CREATE TABLE `foo_table` ( `id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 mroongaストレージエンジンを使ったサンプルでも紹介します。 これを使っていない限り、そうそうインデックスにコメントを追加する機会は無いと思います。 CREATE TABLE `mroonga_table` ( `id` int(11) NOT