## 26.2 信息\_SCHEMA 表参考 [](<>)[](<>) 下表总结了所有可用的`INFORMATION_SCHEMA`表。有关更多详细信息,请参阅各个表的说明。 [](<>) **表 26.1 信息\_SCHEMA 表** | 表名 | 描述 | 介绍 | 已弃用 | | --- | --- | --- | --- | | [`ADMINISTRABLE_ROLE_AUTHORIZATIONS`](information-schema-administrable-role-authorizations-table.html) | 当前用户或角色的可授予用户或角色 | 8.0.19 | | | [`APPLICABLE_ROLES`](information-schema-applicable-roles-table.html) | 当前用户的适用角色 | 8.0.19 | | | [`CHARACTER_SETS`](information-schema-character-sets-table.html) | 可用字符集 | | | | [`CHECK_CONSTRAINTS`](information-schema-check-constraints-table.html) | 表和列 CHECK 约束 | 8.0.16 | | | [`COLLATION_CHARACTER_SET_APPLICABILITY`](information-schema-collation-character-set-applicability-table.html) | 适用于每个排序规则的字符集 | | | | [`校对`](information-schema-collations-table.html) | 每个字符集的排序规则 | | | | [`COLUMN_PRIVILEGES`](information-schema-column-privileges-table.html) | 在列上定义的权限 | | | | [`COLUMN_STATISTICS`](information-schema-column-statistics-table.html) | 列值的直方图统计信息 | | | | [`列`](information-schema-columns-table.html) | 每个表中的列 | | | | [`COLUMNS_EXTENSIONS`](information-schema-columns-extensions-table.html) | 主存储引擎和辅助存储引擎的列属性 | 8.0.21 | | | [`CONNECTION_CONTROL_FAILED_LOGIN_ATTEMPTS`](information-schema-connection-control-failed-login-attempts-table.html) | 当前每个帐户的连续失败连接尝试次数 | | | | [`ENABLED_ROLES`](information-schema-enabled-roles-table.html) | 当前会话中启用的角色 | 8.0.19 | | | [`引擎`](information-schema-engines-table.html) | 存储引擎属性 | | | | [`活动`](information-schema-events-table.html) | 事件管理器事件 | | | | [`文件`](information-schema-files-table.html) | 存储表空间数据的文件 | | | | [`INNODB_BUFFER_PAGE`](information-schema-innodb-buffer-page-table.html) | InnoDB 缓冲池中的页面 | | | | [`INNODB_BUFFER_PAGE_LRU`](information-schema-innodb-buffer-page-lru-table.html) | InnoDB 缓冲池中页面的 LRU 排序 | | | | [`INNODB_BUFFER_POOL_STATS`](information-schema-innodb-buffer-pool-stats-table.html) | InnoDB 缓冲池统计 | | | | [`INNODB_CACHED_INDEXES`](information-schema-innodb-cached-indexes-table.html) | InnoDB 缓冲池中每个索引缓存的索引页数 | | | | [`INNODB_CMP`](information-schema-innodb-cmp-table.html) | 与压缩 InnoDB 表相关的操作的状态 | | | | [`INNODB_CMP_PER_INDEX`](information-schema-innodb-cmp-per-index-table.html) | 与压缩 InnoDB 表和索引相关的操作状态 | | | | [`INNODB_CMP_PER_INDEX_RESET`](information-schema-innodb-cmp-per-index-table.html) | 与压缩 InnoDB 表和索引相关的操作状态 | | | | [`INNODB_CMP_RESET`](information-schema-innodb-cmp-table.html) | 与压缩 InnoDB 表相关的操作的状态 | | | | [`INNODB_CMPMEM`](information-schema-innodb-cmpmem-table.html) | InnoDB 缓冲池中压缩页面的状态 | | | | [`INNODB_CMPMEM_RESET`](information-schema-innodb-cmpmem-table.html) | InnoDB 缓冲池中压缩页面的状态 | | | | [`INNODB_COLUMNS`](information-schema-innodb-columns-table.html) | 每个 InnoDB 表中的列 | | | | [`INNODB_DATAFILES`](information-schema-innodb-datafiles-table.html) | InnoDB file-per-table 和通用表空间的数据文件路径信息 | | | | [`INNODB_FIELDS`](information-schema-innodb-fields-table.html) | InnoDB 索引的关键列 | | | | [`INNODB_FOREIGN`](information-schema-innodb-foreign-table.html) | InnoDB 外键元数据 | | | | [`INNODB_FOREIGN_COLS`](information-schema-innodb-foreign-cols-table.html) | InnoDB 外键列状态信息 | | | | [`INNODB_FT_BEING_DELETED`](information-schema-innodb-ft-being-deleted-table.html) | INNODB 快照\_英尺\_已删除表 | | | | [`INNODB_FT_CONFIG`](information-schema-innodb-ft-config-table.html) | InnoDB 表 FULLTEXT 索引和相关处理的元数据 | | | | [`INNODB_FT_DEFAULT_STOPWORD`](information-schema-innodb-ft-default-stopword-table.html) | InnoDB FULLTEXT 索引的默认停用词列表 | | | | [`INNODB_FT_DELETED`](information-schema-innodb-ft-deleted-table.html) | 从 InnoDB 表 FULLTEXT 索引中删除的行 | | | | [`INNODB_FT_INDEX_CACHE`](information-schema-innodb-ft-index-cache-table.html) | InnoDB FULLTEXT 索引中新插入行的标记信息 | | | | [`INNODB_FT_INDEX_TABLE`](information-schema-innodb-ft-index-table-table.html) | 用于处理针对 InnoDB 表 FULLTEXT 索引的文本搜索的反向索引信息 | | | | [`INNODB_INDEXES`](information-schema-innodb-indexes-table.html) | InnoDB 索引元数据 | | | | [`INNODB_METRICS`](information-schema-innodb-metrics-table.html) | InnoDB 性能信息 | | | | [`INNODB_SESSION_TEMP_TABLESPACES`](information-schema-innodb-session-temp-tablespaces-table.html) | 会话临时表空间元数据 | 8.0.13 | | | [`INNODB_TABLES`](information-schema-innodb-tables-table.html) | InnoDB 表元数据 | | | | [`INNODB_TABLESPACES`](information-schema-innodb-tablespaces-table.html) | InnoDB file-per-table、通用和撤消表空间元数据 | | | | [`INNODB_TABLESPACES_BRIEF`](information-schema-innodb-tablespaces-brief-table.html) | 每个表的简要文件、常规、撤消和系统表空间元数据 | | | | [`INNODB_TABLESTATS`](information-schema-innodb-tablestats-table.html) | InnoDB 表低级状态信息 | | | | [`INNODB_TEMP_TABLE_INFO`](information-schema-innodb-temp-table-info-table.html) | 有关活动用户创建的 InnoDB 临时表的信息 | | | | [`INNODB_TRX`](information-schema-innodb-trx-table.html) | 活跃的 InnoDB 事务信息 | | | | [`INNODB_VIRTUAL`](information-schema-innodb-virtual-table.html) | InnoDB 虚拟生成的列元数据 | | | | [`KEY_COLUMN_USAGE`](information-schema-key-column-usage-table.html) | 哪些键列有约束 | | | | [`关键词`](information-schema-keywords-table.html) | MySQL 关键字 | | | | [`MYSQL_FIREWALL_USERS`](information-schema-mysql-firewall-users-table.html) | 帐户配置文件的防火墙内存数据 | | 8.0.26 | | [`MYSQL_FIREWALL_WHITELIST`](information-schema-mysql-firewall-whitelist-table.html) | 帐户配置文件白名单的防火墙内存数据 | | 8.0.26 | | [`ndb_transid_mysql_connection_map`](information-schema-ndb-transid-mysql-connection-map-table.html) | NDB交易信息 | | | | [`OPTIMIZER_TRACE`](information-schema-optimizer-trace-table.html) | 优化器跟踪活动产生的信息 | | | | [`参数`](information-schema-parameters-table.html) | 存储的例程参数和存储的函数返回值 | | | | [`分区`](information-schema-partitions-table.html) | 表分区信息 | | | | [`插件`](information-schema-plugins-table.html) | 插件信息 | | | | [`进程列表`](information-schema-processlist-table.html) | 当前执行线程的信息 | | | | [`分析`](information-schema-profiling-table.html) | 语句分析信息 | | | | [`REFERENTIAL_CONSTRAINTS`](information-schema-referential-constraints-table.html) | 外键信息 | | | | [`RESOURCE_GROUPS`](information-schema-resource-groups-table.html) | 资源组信息 | | | | [`ROLE_COLUMN_GRANTS`](information-schema-role-column-grants-table.html) | 当前启用的角色可用或授予的角色的列权限 | 8.0.19 | | | [`ROLE_ROUTINE_GRANTS`](information-schema-role-routine-grants-table.html) | 当前启用的角色可用或授予的角色的常规权限 | 8.0.19 | | | [`ROLE_TABLE_GRANTS`](information-schema-role-table-grants-table.html) | 当前启用的角色可用或授予的角色的表权限 | 8.0.19 | | | [`例行公事`](information-schema-routines-table.html) | 存储的例行信息 | | | | [`SCHEMA_PRIVILEGES`](information-schema-schema-privileges-table.html) | 在模式上定义的特权 | | | | [`图式`](information-schema-schemata-table.html) | 架构信息 | | | | [`SCHEMATA_EXTENSIONS`](information-schema-schemata-extensions-table.html) | 架构选项 | 8.0.22 | | | [`ST_GEOMETRY_COLUMNS`](information-schema-st-geometry-columns-table.html) | 每个表中存储空间数据的列 | | | | [`ST_SPATIAL_REFERENCE_SYSTEMS`](information-schema-st-spatial-reference-systems-table.html) | 可用的空间参考系统 | | | | [`ST_UNITS_OF_MEASURE`](information-schema-st-units-of-measure-table.html) | ST 可接受的单位\_距离() | 8.0.14 | | | [`统计数据`](information-schema-statistics-table.html) | 表索引统计 | | | | [`TABLE_CONSTRAINTS`](information-schema-table-constraints-table.html) | 哪些表有约束 | | | | [`TABLE_CONSTRAINTS_EXTENSIONS`](information-schema-table-constraints-extensions-table.html) | 主存储引擎和辅助存储引擎的表约束属性 | 8.0.21 | | | [`TABLE_PRIVILEGES`](information-schema-table-privileges-table.html) | 表上定义的权限 | | | | [`表格`](information-schema-tables-table.html) | 表信息 | | | | [`TABLES_EXTENSIONS`](information-schema-tables-extensions-table.html) | 主存储引擎和辅助存储引擎的表属性 | 8.0.21 | | | [`表空间`](information-schema-tablespaces-table.html) | 表空间信息 | | | | [`TABLESPACES_EXTENSIONS`](information-schema-tablespaces-extensions-table.html) | 主存储引擎的表空间属性 | 8.0.21 | | | [`TP_THREAD_GROUP_STATE`](information-schema-tp-thread-group-state-table.html) | 线程池线程组状态 | | | | [`TP_THREAD_GROUP_STATS`](information-schema-tp-thread-group-stats-table.html) | 线程池线程组统计 | | | | [`TP_THREAD_STATE`](information-schema-tp-thread-state-table.html) | 线程池线程信息 | | | | [`触发器`](information-schema-triggers-table.html) | 触发信息 | | | | [`USER_ATTRIBUTES`](information-schema-user-attributes-table.html) | 用户评论和属性 | 8.0.21 | | | [`USER_PRIVILEGES`](information-schema-user-privileges-table.html) | 每个用户全局定义的权限 | | | | [`VIEW_ROUTINE_USAGE`](information-schema-view-routine-usage-table.html) | 视图中使用的存储函数 | 8.0.13 | | | [`VIEW_TABLE_USAGE`](information-schema-view-table-usage-table.html) | 视图中使用的表和视图 | 8.0.13 | | | [`意见`](information-schema-views-table.html) | 查看信息 | | |