14.8.1 Overview of InnoDB Row Storage
来源:互联网 发布:股票预测算法 编辑:程序博客网 时间:2024/06/05 16:05
14.8 InnoDB Row Storage and Row Formats InnoDB 行存储和行格式
14.8.1 Overview of InnoDB Row Storage
14.8.2 Specifying the Row Format for a Table
14.8.3 DYNAMIC and COMPRESSED Row Formats
14.8.4 COMPACT and REDUNDANT Row Formats
本章节讨论 InnoDB 特性 比如表压缩, 长的可变长度列的值的页面,
大的index key 前缀(innodb_large_prefix) 是有CREATE TABLE 语句的ROW_FORMAT 控制。
它也讨论考虑选择正确的格式,在MySQL 发布版本之间row formats 的兼容。
14.8.1 Overview of InnoDB Row Storage
rows行的存储相关的列影响了查询和DML操作的性能。随着越来越多的行放进一个单独的磁盘页面,
查询和index 查找会变的更快,更少的cache memory 被需要在InnoDB Buffer pool,
更少的I/O是需要写出更新的值
数据在每个InnoDB 表被分成pages,pages 组成 每个表是被安排在一个tree data 结构叫做 一个B-tree index.
表数据和secondary indexes 都使用这种类型的结构。
B-tree index 代表整个表称为 clustered index, 它是被组织根据primary key 列。
index 数据结构的节点包含所有列的值 (对于clustered index) 或者 index columes和主键列(对于secondary indexes).
可变长度列是这个规则的例外, 比如BLOB 和VARCHAR 是太长了来填满一个B-tree页 是存储在单独的分配的磁盘页
被称为溢出列。 这些列的值是存储在溢出页的单链表中,
并且每个列有它自己的一个或多个溢出页的列表。在某些情况下,所有或长列值的前缀是存储在B-tree里,
为了避免浪费存储空间和消除需要读取一个单独的页。
下面的章节描述如何配置InnoDB 表的row format 来控制可变长度列值是如何存储的。
Row format 配置也决定了表压缩特性和大index key 功能的可用性。
- 14.8.1 Overview of InnoDB Row Storage
- 14.9 InnoDB Row Storage and Row Formats
- 14.9 InnoDB Row Storage and Row Formats InnoDB 行存储和行格式:
- 14.8.3 Physical Row Structure of InnoDB Tables InnoDB 表的物理行结构
- Overview of Running a Windows Azure Application with Local Storage
- Overview of Running a Windows Azure Application with Local Storage
- 1-Overview of HTTP
- Oracle11g Memory & Storage Overview
- XPath(1) Overview of XPath
- [UML]1-Overview of UML
- Section 1: Overview of Firebug
- Compressed Row Storage
- Oracle 10g Automatic Storage Management, Part 1: Overview
- Overview of Retry Policies in the Windows Azure Storage Client Library
- MyISAM VS InnoDB Storage
- Unknown storage engine 'InnoDB'
- Blob Storage in Innodb
- 8.5.1 Optimizing Storage Layout for InnoDB Tables
- poj1363--Rails解题报告(c++版)
- hadoop 2.2 错误总结
- js数组操作大全(pop,push,unshift,splice,shift方法)
- apple 苹果官方的demo 下载地址
- php实现批量分批次链表更新
- 14.8.1 Overview of InnoDB Row Storage
- Log4j使用指南
- eclipse导入play项目
- 线程操作范例
- 修改tp-wr841n-v8的flash
- red hat官方的rhel操作系统版本号与内核版本号的对应关系
- Sys.WebForms.PageRequestManager 运行出现Sys未定义错误解决办法
- HDU 5587 Array
- 南大软院大神养成计划第十六天