Percona-Toolkit 之 pt-online-schema-change 总结 pt-online-schema-change - ALTER tables without locking them. pt-online-schema-change alters a table’s structure without blocking reads or writes. Specify t
pt-kill工具的使用 一 命令介绍 1.1 pt-kill - Kill MySQL queries that match certain criteria. 终止指定连接 1.2 查看help帮助命令 [root@node3 ~]# pt-kill --help pt-kill kills MySQL connections. pt-kill connects to MySQL and ge
pt-ioprofile工具包的使用 pt-ioprofile - Watch process IO and print a table of ffle and I/O activity pt-ioprofile [OPTIONS] [FILE] 1 percona-toolkit安装 1.1 二进制包下载地址 https://downloads.percona.com/downloads/per
关于Percona Toolkit 的安装和使用,大家可以看这个链接。 https://greatsql.cn/blog-10-1492.html 但在使用pt-archiver时,有个细节大家要注意。就是在要求实例源表要创建有索引或主键,目的表结构要与源表完全相同。 create table t1 as select * from t where 1=2 pt-archiver --source