文章不在长,坚持不懈记录下努力前行的脚步
发布时间:2015-09-08 18:00:22
1.alter table
it can take a lot of time.MySQL will perform a row-by-row copy of your old table into a new table. During that
time, you’ll probably be using all of the server’s di.........【阅读全文】
发布时间:2015-08-21 15:16:20
1.Each query has to check each row’s version numbers against the transaction’s version。
2.InnoDB must examine each row to ensure that it meets two criteria。innodb会根据以下两个条件检查每行记录.........【阅读全文】
发布时间:2015-07-07 17:04:46
安全与性能的权衡--刷盘方式
innoDB I/O配置
事务日志
文件大小
innodb_log_file_size
innodb_log_files_in_group
innodb_log_buffer_size
如果日志文件过小,没有可用空间写入了,那么必须等待变更被应用到数据文件--不可强制覆盖,否则不能前滚到最新状态。
SHOW GLOBAL.........【阅读全文】