1.compact
2.redundant
3.dynamic
4.compressed
dynamic行格式将溢出记录全部存储到其他页上,该页只记录其他页中数据的地址
compressed和dynamic的区别在于compressed会使用压缩算法对页面进行压缩
页是mysql中磁盘和内存交互的基本单位
也是MySQL管理存储空间的基本单位
指定修改列的行格式语法为:
alter table table_name (column_name) row_format=row_format_name
alter table table_name row_format=row_format_name
一个页默认为16k