June 19, 2013

Post: The small improvements of MySQL 5.6: Duplicate Index Detection

… the MySQL Performance Blog, we’ve been discussing the several new features that MySQL 5.6 brought: GTID-based replication, InnoDB Fulltext, Memcached…` int(11) default null # `col3` varchar(200) default null # To remove this duplicate index, execute: ALTER TABLE `test`.`test` DROP INDEX…

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

… its corresponding FTS_*_DOC_ID.ibd file will also be removed. HOWEVER, even if you drop all of the FT indexes…: mysql> alter table dir_test_innodb ADD FULLTEXT KEY (full_name, details), ADD FULLTEXT KEY (details); ERROR 1795 (HY000): InnoDB presently supports one FULLTEXT… what happens: mysql> set global innodb_ft_aux_table=’test/dir_test_innodb’; mysql> set global innodb_optimize_fulltext_only=1; mysql> select * from…

Post: InnoDB Full-text Search in MySQL 5.6: Part 2, The Queries!

… address, and the like. We are using MySQL 5.5.30 and MySQL 5.6.10 with no configuration tuning…limitation with the InnoDB FTS feature that will be removed in a later version. Now that we’ve …escape hatch from this rabbit hole. When defining a FULLTEXT KEY, you can use the “WITH PARSER” modifier to…

Post: Duplicate indexes and redundant indexes

…column(s) – perfect example is BTREE index and FULLTEXT index, while other combinations may also make sense. …is good to give a good thought before removing them. Typical case when leaving short index AND…other queries. There is currently no tool in MySQL distribution which will help you to check your…