表空间信息,该表不包含innodb表空间,INNODB_SYS_TABLESPACES
and INNODB_SYS_DATAFILES
从5.7.8开始,innodb表空间信息查看INFORMATION_SCHEMA.FILES
The TABLESPACES
table provides information about active tablespaces.
INFORMATION_SCHEMA Name | SHOW Name | Remarks |
---|---|---|
TABLESPACE_NAME | MySQL extension | |
ENGINE | MySQL extension | |
TABLESPACE_TYPE | MySQL extension | |
LOGFILE_GROUP_NAME | MySQL extension | |
EXTENT_SIZE | MySQL extension | |
AUTOEXTEND_SIZE | MySQL extension | |
MAXIMUM_SIZE | MySQL extension | |
NODEGROUP_ID | MySQL extension | |
TABLESPACE_COMMENT | MySQL extension |
Notes:
The INFORMATION_SCHEMA.TABLESPACES
table does not provide information about InnoDB
tablespaces. For InnoDB
tablespace metadata, see INNODB_SYS_TABLESPACES
and INNODB_SYS_DATAFILES
. As of MySQL 5.7.8, the INFORMATION_SCHEMA.FILES
table also provides metadata for InnoDB
tablespaces.