暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
关于innodb_fill_factor
1596
1页
0次
2020-06-19
5墨值下载
有个选项
innodb_ll_factor
用于定义
InnoDB page
的填充率,默认值
100
,但其实
高只
15KB
数据
InnoDB
预留
1/16
空闲
InnoDB
中,有这么一段话
An innodb_ll_factor setting of 100 leaves 1/16 of the space in clustered index
pages free for future index growth.
另外,文档中还有这样一段话
When new records are inserted into an InnoDB clustered index, InnoDB tries to
leave 1/16 of the page free for future insertions and updates of the index
records. If index records are inserted in a sequential order (ascending or
descending), the resulting index pages are about 15/16 full. If records are
inserted in a random order, the pages are from 1/2 to 15/16 full.
上面这两段话,综合起来理解,就是
即便
innodb_ll_factor=100
,也会预留
1/16
的空闲空间,用于现存记录长度扩展用
在最佳的顺序写入数据模式下,
page
填充率有可能可以达到
15/16
在随机写入新数据模式下,
page
填充率约为
1/2 ~ 15/16
1/16
这个则,针对聚集的叶子节有效对于聚集引的叶子点以
辅助索引(叶子及非叶子)节点都没有这个规则
不过
innodb_ll_factor
选项对叶子节点及非叶子节点都有效,但对存储
text/blob
溢出
列的
page
无效
of 1
5墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜