カテゴリー:
エラー
閲覧数:286 配信日:2017-03-28 23:01
MySQL 5.7.6
generated column
・STOREDで作成するとデータ領域に計算後の結果が格納されてインデックスも貼れるようになる
MySQL 5.7.8
Changes in MySQL 5.7.8 (2015-08-03, Release Candidate)
・InnoDBは、仮想生成カラムのセカンダリインデックスをサポート
InnoDB: InnoDB now supports secondary indexes on virtual generated columns. For more information, see Secondary Indexes and Generated Columns.
InnoDBは生成された仮想カラムの二次インデックスをサポートしている
・ 他のインデックスタイプはサポートしていない
InnoDB supports secondary indexes on generated virtual columns. Other index types are not supported.
FULLTEXT インデックス
・未サポート
将来的には
VIRTUALで作成した「generated column」に対して、「FULLTEXT インデックス」作成できるようになる
・仮想列に空間索引または「fulltext index」を作成することはできない(この制限は最終的に解除される)
You cannot create a spatial or fulltext index on virtual columns (this limitation will eventually be lifted