ITPub博客

首页 > 数据库 > MySQL > MYSQL分区表功能测试简析(中)

MYSQL分区表功能测试简析(中)

MySQL 作者:easons247 时间:2014-12-12 17:49:33 0 删除 编辑
2.测试那种存储引擎支持分区
 
   INOODB引擎  www.2cto.com  
mysql> Create table engine1(id int) engine=innodb partition by range(id)(partition po values less than(10));
   Query OK, 0 rows affected (0.01 sec)
   MRG_MYISAM引擎
mysql> Create table engine2(id int) engine=MRG_MYISAM partition by range(id)(partition po values less than(10));
   ERROR 1572 (HY000): Engine cannot be used in partitioned tables
   blackhole引擎
mysql> Create table engine3(id int) engine=blackhole partition by range(id)(partition po values less than(10));
   Query OK, 0 rows affected (0.01 sec)
原载于:联动北方
全文:http://bbs.landingbj.com/t-0-248921-1.html



来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30029358/viewspace-1365961/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-11-20

  • 博文量
    47
  • 访问量
    133804