- 博客(3)
- 资源 (9)
- 收藏
- 关注
原创 MySQL Group Commit 笔记
Binlog开启为何和Group Commit不兼容?MySQL/MariaDB使用XA/2阶段提交保证事务持久性。 提交事务的三个阶段: 准备阶段,事务在引擎中持久化,但仍可以回滚; 如果准备阶段成功,事务在binlog中持久化; 提交阶段,引擎提交事务,无法再回滚。 开启binlog之前,group commit的实现: trx->flush_log_later = TRUE; i
2017-01-22 22:32:05 1289
原创 MySQL协议分析(结合PyMySQL)
MySQL协议分析(结合PyMySQL)MySQL Packets当MySQL客户端或者服务端发送数据时,它会首先把数据分割成(2^24-1)bytes的包,然后给每个包加上packet header。 类型 名称 描述 int<3> payload_length 负载长度,除了header的4字节 int<1> sequence_id 序列ID string
2017-01-03 20:06:43 3609
转载 Yelp的实时流技术:利用MySQLStreamer将数据库变更发送给Kafka
本文翻译自:Streaming MySQL tables in real-time to Kafka 这是关于Yelp的实时流数据基础设施系列文章的第二篇。这个系列会深度讲解我们如何用“确保只有一次”的方式把MySQL数据库中的改动实时地以流的方式传输出去,我们如何自动跟踪表模式变化,如何处理和转换流,以及最终如何把这些数据存储到Redshift或Salesforce之类的数据仓库中去。
2017-01-03 11:34:29 1856
The Architecture of Open Source Applications
2011-09-17
C++标准库,Boost简介
2007-05-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人