2015年1月5日

转换表的存储引擎

摘要: 1、alter table任何引擎的转换都可以使用该方法。但有一个问题:需要执行很长时间。mysql会按行将数据从原表复制到一张新的表中,在复制期间可能会消耗系统所有的I/O能力,同时原表会加上读锁。另外,如果转换标的存储引擎,将会失去和原引擎相关的所有特性。例如,如果将一种Innodb表转换为my... 阅读全文

posted @ 2015-01-05 07:10 Still water run deep 阅读(75) 评论(0) 推荐(0) 编辑

Using SHOW PROCESSLIST and mysqladmin debug Output in Conjunction with SHOW INNODB STATUS

摘要: When InnoDB appears hung, I know the natural reaction is to check SHOW ENGINE INNODB STATUS.In fact, it’s the first thing I check when InnoDB tables a... 阅读全文

posted @ 2015-01-05 00:58 Still water run deep 阅读(303) 评论(0) 推荐(0) 编辑

Concurrent inserts on MyISAM and the binary log

摘要: Recently I had an interesting surprise with concurrent inserts into a MyISAM table. The inserts were not happening concurrently with SELECT statements... 阅读全文

posted @ 2015-01-05 00:56 Still water run deep 阅读(268) 评论(0) 推荐(0) 编辑

导航