ITPub博客

首页 > 数据库 > MySQL > pt-duplicate-key-checker检查数据库的重复索引

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

原创 MySQL 作者:yleizzz 时间:2017-05-04 14:01:00 0 删除 编辑
参考此篇博客
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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30127122/viewspace-2138408/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: io吞吐量
请登录后发表评论 登录
全部评论

注册时间:2015-02-03

  • 博文量
    101
  • 访问量
    184272