当前位置: 首页 > news >正文

我做服装设计师的 求推荐资源网站外贸网站如何做免费推广

我做服装设计师的 求推荐资源网站,外贸网站如何做免费推广,杭州做网站哪里好,网络营销的12种手段binlogMysql Binlog是二进制格式的日志文件#xff0c;用来记录Mysql内部对数据库的改动(只记录对数据的修改操作)#xff0c;主要用于数据库的主从复制以及增量恢复。获取binlog日志列表MariaDB [examples] show master logs;----------------------| Log_name | File_s…binlogMysql Binlog是二进制格式的日志文件用来记录Mysql内部对数据库的改动(只记录对数据的修改操作)主要用于数据库的主从复制以及增量恢复。获取binlog日志列表MariaDB [examples] show master logs;----------------------| Log_name | File_size |----------------------| ON.000001 | 9893 |----------------------可知当前只有一个binlog文件ON.000001MariaDB [examples] show binary logs;----------------------| Log_name | File_size |----------------------| ON.000001 | 9893 |----------------------1 row in set (0.134 sec)查看examples.prefix的表结构MariaDB [examples] show create table prefix \G;*************************** 1. row ***************************Table: prefixCreate Table: CREATE TABLE prefix (a int(10) NOT NULL,b int(10) NOT NULL,c int(10) NOT NULL,KEY I_index (a,b,c)) ENGINEInnoDB DEFAULT CHARSETutf8对全表进行更新操作MariaDB [examples] update prefix set ba101;Query OK, 32 rows affected (0.201 sec)Rows matched: 32 Changed: 32 Warnings: 0可以看到有32条数据发生了更新查看binlog(也可以在日志文件目录通过mysqlbinlog ON.000001命令查看)MariaDB [(none)] show binlog events in ON.000001 \G;.........*************************** 108. row ***************************Log_name: ON.000001Pos: 9893Event_type: GtidServer_id: 1End_log_pos: 9935Info: BEGIN GTID 0-1-48*************************** 109. row ***************************Log_name: ON.000001Pos: 9935Event_type: QueryServer_id: 1End_log_pos: 10031Info: use examples; update prefix set ba101*************************** 110. row ***************************Log_name: ON.000001Pos: 10031Event_type: XidServer_id: 1End_log_pos: 10062Info: COMMIT /* xid883 */有很多条记录本次更新操作增加了这三条数据其中第109是我们显示执行的SQL而第108与109条是事务的开始与结束。关于Xid:Binlog::GTID_EVENT:A global transaction identifier (GTID)开启事务Binlog::QUERY_EVENT:The query event is used to send text querys right the binlog.mysql中createinsertupdatedelete的Event_type均为Query类型初看觉得很奇怪这里只是类型定义而已。Binlog::XID_EVENT:Transaction ID for 2PC, written whenever a COMMIT is expected.提交事务看看官方对各个字段的解释Log_nameThe name of the file that is being listed.PosThe position at which the event occurs.Event_typeAn identifier that describes the event type.Server_idThe server ID of the server on which the event originated.End_log_posThe position at which the next event begins, which is equal to Pos plus the size of the event.InfoMore detailed information about the event type. The format of this information depends on the event type.redo logThe redo log is a disk-based data structure used during crash recovery to correct data written by incomplete transactions关于redo log文件名前缀为ib_logfile, 尝试用mysqlbinlog读取mysqlbinlog ib_logfile1/*!50530 SET SESSION.PSEUDO_SLAVE_MODE1*/;/*!40019 SET session.max_insert_delayed_threads0*/;/*!50003 SET OLD_COMPLETION_TYPECOMPLETION_TYPE,COMPLETION_TYPE0*/;DELIMITER /*!*/;ERROR: File is not a binary log file.google一圈目前尚没发现有可以解析该类文件的工具只能从文档中了解其具体结构。后面有时间研究下源码写个ib_logfile的解析器玩玩参考
http://www.zqtcl.cn/news/605329/

相关文章:

  • 做网络的网站很重要吗网站认证费用
  • flash网站项目背景网页截图快捷键可拉动
  • 郑州企业建设网站北京企业网站模板建站开发
  • 宣传旅游网站建设的观点是什么公众号怎么推广和引流
  • 企业网站制作多少钱山西网络营销方案
  • 焦作住房和城乡建设局网站旅行网站模板
  • 男做基视频网站国家重点高新技术企业名单
  • 公司官方网站开发网站建设电子商务
  • seo网站优化系统搜索引擎优化排名案例
  • 郑州网站建设工作室网站建设全流程 知乎
  • 如何利用源码做网站外贸网站制作推广
  • 国内做网站哪家公司好免费查找资料的网站
  • 自己做的网站百度搜不到搭建网站seo
  • 奇墙网站建设高端网站建设公司联系电话
  • 宁波那家公司做网站好中企动力科技股份有限公司招聘
  • 水果网站推广网站首页静态好还是动态好
  • iis网站属性小程序源码无需服务器
  • 景区网站建设材料代运营有哪些套路坑
  • 六安电商网站建设哪家好有关做美食的网站
  • 卸载wordpress插件网店seo关键词
  • 金山网站制作赤城seo网站优化排名
  • 提供坪山网站建设深圳商城网站哪家做的好
  • 有什么网站可以帮人做模具吗热搜榜百度一下你就知道
  • 深圳网站优化技巧邹城住房城乡建设部网站
  • 小型企业网站建站桂林市中考信息网官网
  • 雏鸟app网站推广做网站用宋体有版权问题吗
  • 建立网站数据库开公司流程及费用2022最新
  • 外贸谷歌网站推广wordpress调用上传图片
  • 360提示危险网站原因威海 网站开发
  • 赣州本地网站网站怎么写