posted @ 2017-11-29 23:47
11 2017 档案
摘要:insert update 批量数据的时候,出现主键冲突,是回滚的,执行后最好是去binglog里检查一下。
阅读全文
摘要:echo "* soft nofile 65535" >> /etc/security/limits.conf echo "* hard nofile 65535" >> /etc/security/limits.conf echo "* soft nproc 65535" >> /etc/security/limits.conf echo "* hard nproc 65535" >> ...
阅读全文
posted @ 2017-11-16 11:52
摘要:select * from biao1 where (Openid,OperateTime) in (select Openid,max(OperateTime) from biao1 group by Openid); SELECT Openid, max(OperateTime), SourceIndex FROM ...
阅读全文
posted @ 2017-11-16 11:48
摘要:1872故障搞定后可以重启,但是出现1236故障 reset master ; reset slave; set global gtid_purged='' change master to ....... start slave; #################################
阅读全文
posted @ 2017-11-15 17:40
摘要:断电重启故障 2017-11-10T21:27:52.791849+08:00 0 [ERROR] Error in Log_event::read_log_event(): 'read error', data_len: 68, event_type: 22017-11-10T21:27:52.7
阅读全文
posted @ 2017-11-10 22:16
摘要:备份2个库,然后导入到新的mysql实例报错 ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty. reset master;然后再导入
阅读全文
posted @ 2017-11-09 12:03
浙公网安备 33010602011771号