草庐IT

relaylog

全部标签

MySQL四种日志binlog/redolog/relaylog/undolog

优质博文:IT-BLOG-CN一、binlogbinlog记录数据库表结构和表数据变更,比如update/delete/insert/truncate/create,它不会记录select。存储着每条变更的SQL语句和XID事务Id等等。binlog日志文件如下:[root@192.168.10.11]#mysqlbinlogmysql-binlog.0000012..........#at523#16865420:22:43serverid1end_log_pos843Querythread_id=3exec_time=0error_code=0SETTIMESTAMP=156521934/

MySQL四种日志binlog/redolog/relaylog/undolog

优质博文:IT-BLOG-CN一、binlogbinlog记录数据库表结构和表数据变更,比如update/delete/insert/truncate/create,它不会记录select。存储着每条变更的SQL语句和XID事务Id等等。binlog日志文件如下:[root@192.168.10.11]#mysqlbinlogmysql-binlog.0000012..........#at523#16865420:22:43serverid1end_log_pos843Querythread_id=3exec_time=0error_code=0SETTIMESTAMP=156521934/