14.9.2 Specifying the Row Format for a Table 指定 表的行格式 mysql> SHOW TABLE STATUS\G; *************************** 1. row *************************** Name: user Engine: InnoDB Version: 10 Row_format: Compact Rows: 11 Avg_row_length: 1489 Data_length: 16384 Max_data_length: 0 Index_length: 0 Data_free: 0 Auto_increment: NULL Create_time: 2016-07-04 23:39:21 Update_time: NULL Check_time: NULL Collation: utf8_general_ci Checksum: NULL Create_options: Comment: 1 row in set (0.00 sec) ERROR: No query specified 你指定表的row format 使用ROW_FORMAT 子句在创建表或者ALTER TABLE 语句的时候 比如: CREATE TABLE t1 (f1 int unsigned) ROW_FORMAT=DYNAMIC ENGINE=INNODB; InnoDB ROW_FORMAT 选项包括 COMPACT, REDUNDANT, DYNAMIC, and COMPRESSED. 对于InnoDB 表, 行是存储在COMPACT 格式默认(ROW_FORMAT=COMPACT)
14.9.2 Specifying the Row Format for a Table 指定 表的行格式
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
psql窗口函数 ROW_NUMBER的应用
psql窗口函数的使用
窗口函数 一对多 表结构