MySQL5.6新特性

Innodb加强项

1、Innodb全文索引

mysql> show create table film_text\G
*************************** 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

posted @ 2013-11-23 19:25  小郭学路  阅读(207)  评论(0编辑  收藏  举报