Size of duplicate full text indexes is reported as 0.
CREATE TABLE `ai5` ( `id` int(11) NOT NULL, `c1` int(11) DEFAULT NULL, `c2` int(11) DEFAULT NULL, `c3` varchar(64) DEFAULT NULL, PRIMARY KEY (`id`), FULLTEXT KEY `c3` (`c3`), FULLTEXT KEY `c3_2` (`c3`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1
$ ./pt-duplicate-key-checker --verbose --tables=test.ai5 # ######################################################################## # test.ai5 # ########################################################################
# c3_2 (`c3`) # PRIMARY (`id`) # c3 (`c3`)
# c3_2 is a duplicate of c3 # Key definitions: # FULLTEXT KEY `c3_2` (`c3`) # FULLTEXT KEY `c3` (`c3`), # Column types: # `c3` varchar(64) default null # To remove this duplicate index, execute: ALTER TABLE `test`.`ai5` DROP INDEX `c3_2`;
# ######################################################################## # Summary of indexes # ########################################################################
# Size Duplicate Indexes 0 # Total Duplicate Indexes 1 # Total Indexes 3
« Back to merge proposal
Size of duplicate full text indexes is reported as 0.
CREATE TABLE `ai5` (
`id` int(11) NOT NULL,
`c1` int(11) DEFAULT NULL,
`c2` int(11) DEFAULT NULL,
`c3` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `c3` (`c3`),
FULLTEXT KEY `c3_2` (`c3`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
$ ./pt-duplicate- key-checker --verbose --tables=test.ai5 ####### ####### ####### ####### ####### ####### ####### ####### ####### ## ####### ####### ####### ####### ####### ####### ####### ####### ####### ##
# #######
# test.ai5
# #######
# c3_2 (`c3`)
# PRIMARY (`id`)
# c3 (`c3`)
# c3_2 is a duplicate of c3
# Key definitions:
# FULLTEXT KEY `c3_2` (`c3`)
# FULLTEXT KEY `c3` (`c3`),
# Column types:
# `c3` varchar(64) default null
# To remove this duplicate index, execute:
ALTER TABLE `test`.`ai5` DROP INDEX `c3_2`;
# ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ## ####### ####### ####### ####### ####### ####### ####### ####### ####### ##
# Summary of indexes
# #######
# Size Duplicate Indexes 0
# Total Duplicate Indexes 1
# Total Indexes 3