`
kabike
  • 浏览: 598445 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

innodb index的DDL

阅读更多
mysql的innodb表,如果想创建一个secondary index,原来都是需要copy一个新表的,所以相当耗时.
mysql5.1以后,可以使用innodb的plugin,就能使用Fast Index Creation.
http://dev.mysql.com/doc/innodb-plugin/1.0/en/innodb-create-index.html
这样不用进行表数据的copy,速度有了很大的提高.不过DDL仍然阻塞了DML的操作.
最近看mysql5.6的新特性,发现5.6提供了online DDL的功能.值得关注.
http://hedengcheng.com/?p=405
http://dev.mysql.com/doc/refman/5.6/en/innodb-online-ddl.html


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics