欢迎光临
我们一直在努力

pt-duplicate-key-checker检查数据库的重复索引

参考此篇博客
http://blog.csdn.net/z1547840014/article/details/10198237

检查所有库的冗余索引
pt-duplicate-key-checker –user=root  –password=cG3sBD9mazGI –host=192.168.27.21
本机
pt-duplicate-key-checker –user=root  –password=cG3sBD9mazGI –host=localhost

检查本机冗余索引并输出到index.sql文件
pt-duplicate-key-checker –user=root  –password=cG3sBD9mazGI –host=localhost>index.sql

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。