Mysql 为什么信息_schema.tables.data _free总是8388608?
有人知道为什么InnoDB中的信息\u schema.tables.data\u free总是8388608,而不管表中有多少行Mysql 为什么信息_schema.tables.data _free总是8388608?,mysql,Mysql,有人知道为什么InnoDB中的信息\u schema.tables.data\u free总是8388608,而不管表中有多少行 table_schema table_name table_rows data_free engine g33v1 appraise 0 8388608 InnoDB g33v1 areatype 12403 8388608 InnoDB g33v1 atype
table_schema table_name table_rows data_free engine
g33v1 appraise 0 8388608 InnoDB
g33v1 areatype 12403 8388608 InnoDB
g33v1 atype 581982 8388608 InnoDB
g33v1 atype2 579700 8388608 InnoDB
谢谢。我认为是临时表的最大大小分配用于排序和其他需要硬盘空间的事情。同样的事情也出现在其他情况下
mysql> show global variables like '%tmp%';
+----------------+-----------------------+
| Variable_name | Value |
+----------------+-----------------------+
| bdb_tmpdir | /usr/local/mysql/tmp/ |
| max_tmp_tables | 32 |
| tmp_table_size | 8388608 |
| tmpdir | /usr/local/mysql/tmp |
+----------------+-----------------------+
mysql> show global variables like '%myisam%';
+---------------------------------+---------------+
| Variable_name | Value |
+---------------------------------+---------------+
| myisam_data_pointer_size | 4 |
| myisam_max_extra_sort_file_size | 2147483648 |
| myisam_max_sort_file_size | 2147483647 |
| myisam_recover_options | OFF |
| myisam_repair_threads | 1 |
| myisam_sort_buffer_size | 4194304 |
| myisam_stats_method | nulls_unequal |
+---------------------------------+---------------
嗨,维尼特。谢谢你的回答。我再次检查了这个问题,发现所有表的数据空闲都是一样的,因为我没有为每个表设置innodb\u文件。所以data_free是指数据_不包含idbdata。也就是说,该值应该等于所有表。是这样吗?