MySQL 8.4 Release Notes
10.13.3 使用 performance_schema 测量性能
You can query the tables in the performance_schema
database to see real-time information about the performance characteristics of your server and the applications it is running. See Chapter 29, MySQL Performance Schema for details.