查看指定二进制日记的事宜(膳绫擎那个敕令只能查看默认1的)
- mysqldump -p123456 --flush-logs test1 > /opt/test1.spl
- #备份全部数据库,并且从新开启一个新的binlog
- mysql -p123456 test1 </opt/test1.spl #大年夜备份的目次中导入
- mysql> show binlog events in 'mysql-bin.000002';
- +------------------+-----+----------------+-----------+-------------+---------------------------------------+
- | Log_name | Pos | Event_type | Server_id | End_log_pos | Info |
- +------------------+-----+----------------+-----------+-------------+---------------------------------------+
- | mysql-bin.000002 | 4 | Format_desc | 1 | 123 | Server ver: 5.7.13-log, Binlog ver: 4 |
- | mysql-bin.000002 | 123 | Previous_gtids | 1 | 154 | |
- | mysql-bin.000002 | 154 | Anonymous_Gtid | 1 | 219 | SET @@SESSION.GTID_NEXT= 'ANONYMOUS' |
- | mysql-bin.000002 | 219 | Query | 1 | 292 | BEGIN |
- | mysql-bin.000002 | 292 | Table_map | 1 | 342 | table_id: 108 (test1.tb1) |
推荐阅读
游戏中有很多是和概率相干的,比如说技能的伤害有必定概率的暴击伤害或者折光被击等。按照帧同步的话,基于雷同的输入,每个玩家的client都是自力计算伤害的,那么若何包管所有电脑的暴击>>>详细阅读
本文标题:Mysql大数据备份及恢复
地址:http://www.17bianji.com/lsqh/36118.html
1/2 1