当前位置: 代码迷 >> CUDA >> Barracuda文件格式跟Antelope的区别
  详细解决方案

Barracuda文件格式跟Antelope的区别

热度:554   发布时间:2016-04-29 10:43:50.0
Barracuda文件格式和Antelope的区别

/** 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可以在不在聚集索引页的数据上创建二级索引,并且能存更多数据在溢出页。

1楼u010850027昨天 21:14
谢谢分享 学习了
  相关解决方案