14.4.9 File-Per-Table Tablespaces

  • A file-per-table tablespace is a single-table tablespace that is created in its own data file rather than in the system tablespace. Tables are created in file-per-table tablespaces when the innodb_file_per_table option is enabled. Otherwise, InnoDB tables are created in the system tablespace. Each file-per-table tablespace is represented by a single .ibd data file, which is created in the database directory by default.
  • file-per-table表空间是单表的表空间,它是在自己的数据文件中创建的,而不是在系统表空间中创建的,如果开启了innodb_file_per_table选项,则表创建在file-per-table表空间,否则,innodb表就会创建在系统表空间里面,每一个 file-per-table表空间是由一个.ibd 数据文件表示,默认是在数据库目录中创建的
  • File per-table tablespaces support DYNAMIC and COMPRESSED row formats which support features such as off-page storage for variable length data and table compression. For information about these features, and about other advantages of file-per-table tablespaces, see Section 14.7.4, “InnoDB File-Per-Table Tablespaces”.
  • file-per-table表空间支持DYNAMIC和COMPRESSE并且行格式,并且支持可变长度数据的页外存储和表压缩等特性,有关这些功能的信息和file-per-table表空间文件其他优点,请看 Section 14.7.4, “InnoDB File-Per-Table Tablespaces”.

PREV: 14.4.8 Undo Logs. https://blog.51cto.com/itzhoujun/2353194
NEXT: 14.4.10 General Tablespaces. https://blog.51cto.com/itzhoujun/2353196

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章