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 instead. 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_STATS;
应用程序应改用此查询:The application should use this query instead:
SELECT * FROM performance_schema.tp_thread_group_stats;
TP_THREAD_GROUP_STATS 表报告每个线程组的统计信息。每个组对应一行。The TP_THREAD_GROUP_STATS table reports
statistics per thread group. There is one row per group.
有关 INFORMATION_SCHEMA TP_THREAD_GROUP_STATS 表中列的描述,请参见 第 29.12.16.3 节,“tp_thread_group_stats 表”。Performance Schema tp_thread_group_stats 表具有等效的列。For descriptions of the columns in the
INFORMATION_SCHEMA
TP_THREAD_GROUP_STATS table, see
Section 29.12.16.3, “The tp_thread_group_stats Table”.
The Performance Schema
tp_thread_group_stats table has
equivalent columns.