MySQL 8.4 Release Notes
28.2 INFORMATION_SCHEMA 表参考
The following table summarizes all available INFORMATION_SCHEMA
tables. For greater detail, see the individual table descriptions.
Table 28.1 INFORMATION_SCHEMA Tables
Table Name | Description | Deprecated |
---|---|---|
ADMINISTRABLE_ROLE_AUTHORIZATIONS |
Grantable users or roles for current user or role | |
APPLICABLE_ROLES |
Applicable roles for current user | |
CHARACTER_SETS |
Available character sets | |
CHECK_CONSTRAINTS |
Table and column CHECK constraints | |
COLLATION_CHARACTER_SET_APPLICABILITY |
Character set applicable to each collation | |
COLLATIONS |
Collations for each character set | |
COLUMN_PRIVILEGES |
Privileges defined on columns | |
COLUMN_STATISTICS |
Histogram statistics for column values | |
COLUMNS |
Columns in each table | |
COLUMNS_EXTENSIONS |
Column attributes for primary and secondary storage engines | |
CONNECTION_CONTROL_FAILED_LOGIN_ATTEMPTS |
Current number of consecutive failed connection attempts per account | |
ENABLED_ROLES |
Roles enabled within current session | |
ENGINES |
Storage engine properties | |
EVENTS |
Event Manager events | |
FILES |
Files that store tablespace data | |
INNODB_BUFFER_PAGE |
Pages in InnoDB buffer pool | |
INNODB_BUFFER_PAGE_LRU |
LRU ordering of pages in InnoDB buffer pool | |
INNODB_BUFFER_POOL_STATS |
InnoDB buffer pool statistics | |
INNODB_CACHED_INDEXES |
Number of index pages cached per index in InnoDB buffer pool | |
INNODB_CMP |
Status for operations related to compressed InnoDB tables | |
INNODB_CMP_PER_INDEX |
Status for operations related to compressed InnoDB tables and indexes | |
INNODB_CMP_PER_INDEX_RESET |
Status for operations related to compressed InnoDB tables and indexes | |
INNODB_CMP_RESET |
Status for operations related to compressed InnoDB tables | |
INNODB_CMPMEM |
Status for compressed pages within InnoDB buffer pool | |
INNODB_CMPMEM_RESET |
Status for compressed pages within InnoDB buffer pool | |
INNODB_COLUMNS |
Columns in each InnoDB table | |
INNODB_DATAFILES |
Data file path information for InnoDB file-per-table and general tablespaces | |
INNODB_FIELDS |
Key columns of InnoDB indexes | |
INNODB_FOREIGN |
InnoDB foreign-key metadata | |
INNODB_FOREIGN_COLS |
InnoDB foreign-key column status information | |
INNODB_FT_BEING_DELETED |
Snapshot of INNODB_FT_DELETED table | |
INNODB_FT_CONFIG |
Metadata for InnoDB table FULLTEXT index and associated processing | |
INNODB_FT_DEFAULT_STOPWORD |
Default list of stopwords for InnoDB FULLTEXT indexes | |
INNODB_FT_DELETED |
Rows deleted from InnoDB table FULLTEXT index | |
INNODB_FT_INDEX_CACHE |
Token information for newly inserted rows in InnoDB FULLTEXT index | |
INNODB_FT_INDEX_TABLE |
Inverted index information for processing text searches against InnoDB table FULLTEXT index | |
INNODB_INDEXES |
InnoDB index metadata | |
INNODB_METRICS |
InnoDB performance information | |
INNODB_SESSION_TEMP_TABLESPACES |
Session temporary-tablespace metadata | |
INNODB_TABLES |
InnoDB table metadata | |
INNODB_TABLESPACES |
InnoDB file-per-table, general, and undo tablespace metadata | |
INNODB_TABLESPACES_BRIEF |
Brief file-per-table, general, undo, and system tablespace metadata | |
INNODB_TABLESTATS |
InnoDB table low-level status information | |
INNODB_TEMP_TABLE_INFO |
Information about active user-created InnoDB temporary tables | |
INNODB_TRX |
Active InnoDB transaction information | |
INNODB_VIRTUAL |
InnoDB virtual generated column metadata | |
KEY_COLUMN_USAGE |
Which key columns have constraints | |
KEYWORDS |
MySQL keywords | |
MYSQL_FIREWALL_USERS |
Firewall in-memory data for account profiles | Yes |
MYSQL_FIREWALL_WHITELIST |
Firewall in-memory data for account profile allowlists | Yes |
ndb_transid_mysql_connection_map |
NDB transaction information | |
OPTIMIZER_TRACE |
Information produced by optimizer trace activity | |
PARAMETERS |
Stored routine parameters and stored function return values | |
PARTITIONS |
Table partition information | |
PLUGINS |
Plugin information | |
PROCESSLIST |
Information about currently executing threads | |
PROFILING |
Statement profiling information | |
REFERENTIAL_CONSTRAINTS |
Foreign key information | |
RESOURCE_GROUPS |
Resource group information | |
ROLE_COLUMN_GRANTS |
Column privileges for roles available to or granted by currently enabled roles | |
ROLE_ROUTINE_GRANTS |
Routine privileges for roles available to or granted by currently enabled roles | |
ROLE_TABLE_GRANTS |
Table privileges for roles available to or granted by currently enabled roles | |
ROUTINES |
Stored routine information | |
SCHEMA_PRIVILEGES |
Privileges defined on schemas | |
SCHEMATA |
Schema information | |
SCHEMATA_EXTENSIONS |
Schema options | |
ST_GEOMETRY_COLUMNS |
Columns in each table that store spatial data | |
ST_SPATIAL_REFERENCE_SYSTEMS |
Available spatial reference systems | |
ST_UNITS_OF_MEASURE |
Acceptable units for ST_Distance() | |
STATISTICS |
Table index statistics | |
TABLE_CONSTRAINTS |
Which tables have constraints | |
TABLE_CONSTRAINTS_EXTENSIONS |
Table constraint attributes for primary and secondary storage engines | |
TABLE_PRIVILEGES |
Privileges defined on tables | |
TABLES |
Table information | |
TABLES_EXTENSIONS |
Table attributes for primary and secondary storage engines | |
TABLESPACES_EXTENSIONS |
Tablespace attributes for primary storage engines | |
TP_THREAD_GROUP_STATE |
Thread pool thread group states | |
TP_THREAD_GROUP_STATS |
Thread pool thread group statistics | |
TP_THREAD_STATE |
Thread pool thread information | |
TRIGGERS |
Trigger information | |
USER_ATTRIBUTES |
User comments and attributes | |
USER_PRIVILEGES |
Privileges defined globally per user | |
VIEW_ROUTINE_USAGE |
Stored functions used in views | |
VIEW_TABLE_USAGE |
Tables and views used in views | |
VIEWS |
View information |