随笔分类 -  MySQL

摘要:1.使用前备份 mysqldump -uroot -p fission_statistics room_break_history > room_break_history_20170704.dump 2.pt-osc执行DDL pt-online-schema-change --user='roo 阅读全文
posted @ 2017-07-04 11:36 geek_ace 阅读(623) 评论(0) 推荐(0)
摘要:1.表结构 CREATE TABLE `room_break_history_tmp_test ` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `break_type` INT(11) DEFAULT NULL, `app_id` INT(11) DEFAULT 阅读全文
posted @ 2017-07-03 15:33 geek_ace 阅读(373) 评论(0) 推荐(0)