mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 17:15:44 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
21
t/pt-duplicate-key-checker/samples/issue_295-51.txt
Normal file
21
t/pt-duplicate-key-checker/samples/issue_295-51.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
# ########################################################################
|
||||
# issue_295.t
|
||||
# ########################################################################
|
||||
|
||||
# Key b_a ends with a prefix of the clustered index
|
||||
# Key definitions:
|
||||
# KEY `b_a` (`b`,`a`)
|
||||
# PRIMARY KEY (`a`),
|
||||
# Column types:
|
||||
# `b` int(11) not null
|
||||
# `a` int(11) not null
|
||||
# To shorten this duplicate clustered index, execute:
|
||||
ALTER TABLE `issue_295`.`t` DROP INDEX `b_a`, ADD INDEX `b_a` (`b`);
|
||||
|
||||
# ########################################################################
|
||||
# Summary of indexes
|
||||
# ########################################################################
|
||||
|
||||
# Size Duplicate Indexes 8
|
||||
# Total Duplicate Indexes 1
|
||||
# Total Indexes 2
|
Reference in New Issue
Block a user