MySQL5.6新特性

Innodb加强项

1、Innodb全文索引

mysql> show create table film_textG
*************************** 1. row ***************************
       Table: film_text
Create Table: CREATE TABLE `film_text` (
  `film_id` smallint(6) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text,
  FULLTEXT KEY `idx_title_description` (`title`,`description`),
  FULLTEXT KEY `idx_title` (`title`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
1 row in set (0.00 sec)

mysql> select title as "Title" from film_text where match(title) against ('ACADEMY' in natural language mode);
+------------------+
| Title            |
+------------------+
| ACADEMY DINOSAUR |
| VICTORY ACADEMY  |
+------------------+

 http://dev.mysql.com/doc/refman/5.6/en/innodb-table-and-index.html#innodb-fulltext-index

2、onlineDDL

http://dev.mysql.com/doc/refman/5.6/en/innodb-online-ddl.html

原文地址:https://www.cnblogs.com/gsblog/p/3439326.html