国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

[MySQL binlog]mysql如何徹底解析Mixed日志格式的binlog

2024-07-24 12:47:41
字體:
來源:轉載
供稿:網友

mysql binlog3種格式,row,mixed,statement. 解析工作

mysqlbinlog --base64-output=DECODE-ROWS -v mysql-bin.000144 |more

--base64-output=DECODE-ROWS: 會顯示出row模式帶來的sql變更。

-v :顯示statement模式帶來的sql語句

復制代碼 代碼如下:

[mysql@002tmp]$ mysqlbinlog --base64-output=DECODE-ROWS -v mysql-bin.000144 |more
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
# at 4
#140216 23:59:26 server id 3  end_log_pos 107   Start: binlog v 4, server v 5.5.25a-log created 140216 23:59:26
# at 107
#140216 23:59:26 server id 1  end_log_pos 171   Query   thread_id=8557964       exec_time=0     error_code=0
SET TIMESTAMP=1392595166/*!*/;
SET @@session.pseudo_thread_id=8557964/*!*/;
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
SET @@session.sql_mode=6291456/*!*/;
SET @@session.auto_increment_increment=2, @@session.auto_increment_offset=1/*!*/;
/*!/C utf8mb4 *//*!*/;
SET @@session.character_set_client=45,@@session.collation_connection=45,@@session.collation_server=33/*!*/;
SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/;
BEGIN
/*!*/;
# at 171
# at 260
#140216 23:59:26 server id 1  end_log_pos 260   Table_map: `billing`.`billing_account` mapped to number 216
#140216 23:59:26 server id 1  end_log_pos 418   Write_rows: table id 216 flags: STMT_END_F
### INSERT INTO billing.billing_account
### SET
###   @1=80491
###   @2=1000013580491
###   @3=1000056980491
###   @4=1
###   @5=1
###   @6='Integration-Tests'
###   @7=2014-02-16 23:59:26
###   @8='Integration-Tests'
###   @9=2014-02-16 23:59:26
###   @10='Integration-Tests'
###   @11=NULL
###   @12='0'
###   @13=1000105380491
###   @14='0'
###   @15='159.153.208.254'
###   @16=1
###   @17=NULL
# at 418
# at 516
#140216 23:59:26 server id 1  end_log_pos 516   Table_map: `billing`.`credit_card_account` mapped to number 222
#140216 23:59:26 server id 1  end_log_pos 812   Write_rows: table id 222 flags: STMT_END_F
### INSERT INTO billing.credit_card_account
### SET

您可能感興趣的文章:

解說mysql之binlog日志以及利用binlog日志恢復數據的方法Mysql數據庫之Binlog日志使用總結(必看篇)MySQL 自動清理binlog日志的方法教你自動恢復MySQL數據庫的日志文件(binlog)mysql binlog二進制日志詳解mysql 正確清理binlog日志的兩種方法
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 大竹县| 农安县| 南投县| 郓城县| 安国市| 鄯善县| 建湖县| 金沙县| 阜宁县| 安龙县| 长治县| 兴城市| 上蔡县| 枣强县| 沂水县| 湘潭县| 南平市| 霸州市| 阳东县| 新乡市| 凤台县| 开阳县| 景洪市| 正宁县| 长武县| 阿拉善左旗| 东港市| 江西省| 汽车| 白水县| 肥西县| 措美县| 竹溪县| 衡南县| 南靖县| 郁南县| 茶陵县| 潜江市| 石泉县| 武义县| 措美县|