8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 28 个 INFORMATION_SCHEMA 表 / 28.5 INFORMATION_SCHEMA 的 Thread Pool 表 / 28.5.2 INFORMATION_SCHEMA 的 TP_THREAD_GROUP_STATE 表
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

28.5.2 INFORMATION_SCHEMA TP_THREAD_GROUP_STATE 表28.5.2 The INFORMATION_SCHEMA TP_THREAD_GROUP_STATE Table

Note

INFORMATION_SCHEMA 线程池表已被弃用,并可能在未来版本的 MySQL 中移除。您应使用 Performance Schema 表中可用的版本。请参见 第 29.12.16 节,“Performance Schema 线程池表”。应用程序应从旧表过渡到新表。例如,如果应用程序使用以下查询:The INFORMATION_SCHEMA thread pool tables are deprecated, and subject to removal in a future version of MySQL. You should use the versions available as Performance Schema tables insted. See Section 29.12.16, “Performance Schema Thread Pool Tables”. Applications should transition away from the old tables to the new tables. For example, if an application uses this query:

SELECT * FROM INFORMATION_SCHEMA.TP_THREAD_GROUP_STATE;

应用程序应改用此查询:The application should use this query instead:

SELECT * FROM performance_schema.tp_thread_group_state;

TP_THREAD_GROUP_STATE 表在每个线程池线程组中有一行。每行提供有关该组当前状态的信息。The TP_THREAD_GROUP_STATE table has one row per thread group in the thread pool. Each row provides information about the current state of a group.

有关 INFORMATION_SCHEMA TP_THREAD_GROUP_STATE 表中列的描述,请参阅 第 29.12.16.2 节,“tp_thread_group_state 表”。Performance Schema tp_thread_group_state 表具有相应的列。For descriptions of the columns in the INFORMATION_SCHEMA TP_THREAD_GROUP_STATE table, see Section 29.12.16.2, “The tp_thread_group_state Table”. The Performance Schema tp_thread_group_state table has equivalent columns.