https://www.percona.com/doc/percona-toolkit/2.1/pt-online-schema-change.html
不锁表更改数据库表结构
pt-online-schema-change --user=root --host=127.0.0.1 --ask-pass --execute --statistics --charset=utf8 --recursion-method=none --alter 'ADD COLUMN `daily_type` SMALLINT NULL' D=hbc,t=price_snapshot
--recursion-method=none 告诉不用管主从延迟
--execute 开始执行
--statistics 统计