码迷,mamicode.com
首页 > 其他好文 > 详细

Barracuda文件格式和Antelope的区别

时间:2015-05-10 22:31:03      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:

/** There are currently two InnoDB fileformats which are used to group

features with similar restrictions anddependencies. Using an enum allows

switch statements to give a compilerwarning when a new one is introduced. */

enum innodb_file_formats_enum {

         /**Antelope File Format: InnoDB/MySQL up to 5.1.

         Thisformat includes REDUNDANT and COMPACT row formats */

         UNIV_FORMAT_A             =0,

 

         /**Barracuda File Format: Introduced in InnoDB plugin for 5.1:

         Thisformat includes COMPRESSED and DYNAMIC row formats.  It

         includesthe ability to create secondary indexes from data that

         isnot on the clustered index page and the ability to store more

         dataoff the clustered index page. */

         UNIV_FORMAT_B             =1

};

 

Barracuda文件格式由innodb5.1引入,包括compressed和dynamic文件格式。Barracuda与Antelope的区别在于barracuda可以在不在聚集索引页的数据上创建二级索引,并且能存更多数据在溢出页。

Barracuda文件格式和Antelope的区别

标签:

原文地址:http://blog.csdn.net/yanzongshuai/article/details/45625079

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!