首页 > 其他 > 详细

Barracuda文件格式和Antelope的区别

时间:2015-05-10 22:29:29      阅读:279      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!