摘要: 二进制日志是写操作是,首先写入二进制日志缓冲(binlog_cache)然后commit,再从binlog_cache写入到binlog文件,默认大小为32K,而binlog_cache是session级别的,也就是说实际binlog cache占用内存数= connections * binlog 阅读全文
posted @ 2017-06-21 16:49 Jandison 阅读(2504) 评论(0) 推荐(0) 编辑
摘要: Antelope和Barracuda均为innodb存储引擎的文件格式,Antelope为默认格式,非压缩;Barracuda为压缩格式;两者主要的不同在于对大数据量的存储时所占用的空间差异。若要使用innodb的压缩功能,则必须使用innodb_file_format=Barracuda,不然没有 阅读全文
posted @ 2017-06-21 15:33 Jandison 阅读(838) 评论(0) 推荐(0) 编辑