Barracuda文件格式和Antelope的区别

191 篇文章 87 订阅 ¥9.90 ¥99.00
本文探讨了Barracuda文件格式,该格式自InnoDB5.1开始引入,特点包括compressed和dynamic模式。相较于Antelope,Barracuda允许在非聚集索引页创建二级索引,并能存储更多数据于溢出页,提升了存储效率。
摘要由CSDN通过智能技术生成

/** 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
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

yzs87

你的鼓励是我最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值