10 2018 档案

摘要:如下SQL的优化: select count(*) from ( select id,name,col1,col2 from t1 where name='xxxx' union select id,name ,null as col1,'' as col2 from t2 where id!=1 阅读全文
posted @ 2018-10-23 17:40 vansky 阅读(413) 评论(0) 推荐(0)
摘要:binlog2sql 用法 使用场景:binlog2sql是根据mysql的binlog (要求格式是row)反解析出delete,update操作,对误操作数据进行还原。 https://github.com/danfengcao/binlog2sql git clone https://gith 阅读全文
posted @ 2018-10-07 09:31 vansky 阅读(5348) 评论(0) 推荐(0)