下表列出sys
        了模式对象并提供了每个对象的简短描述。
表 26.2 sys 模式视图
| 查看名称 | 描述 | 弃用 | 
|---|
| host_summary,x$host_summary | 语句活动、文件 I/O 和连接,按主机分组 |  | 
|---|
| host_summary_by_file_io,x$host_summary_by_file_io | 文件 I/O,按主机分组 |  | 
|---|
| host_summary_by_file_io_type,x$host_summary_by_file_io_type | 文件 I/O,按主机和事件类型分组 |  | 
|---|
| host_summary_by_stages,x$host_summary_by_stages | 语句阶段,按主机分组 |  | 
|---|
| host_summary_by_statement_latency,x$host_summary_by_statement_latency | 语句统计信息,按主机分组 |  | 
|---|
| host_summary_by_statement_type,x$host_summary_by_statement_type | 执行的语句,按主机和语句分组 |  | 
|---|
| innodb_buffer_stats_by_schema,x$innodb_buffer_stats_by_schema | InnoDB 缓冲区信息,按模式分组 |  | 
|---|
| innodb_buffer_stats_by_table,x$innodb_buffer_stats_by_table | InnoDB 缓冲区信息,按模式和表分组 |  | 
|---|
| innodb_lock_waits,x$innodb_lock_waits | InnoDB 锁信息 |  | 
|---|
| io_by_thread_by_latency,x$io_by_thread_by_latency | I/O 消费者,按线程分组 |  | 
|---|
| io_global_by_file_by_bytes,x$io_global_by_file_by_bytes | 全局 I/O 消费者,按文件和字节分组 |  | 
|---|
| io_global_by_file_by_latency,x$io_global_by_file_by_latency | 全局 I/O 消费者,按文件和延迟分组 |  | 
|---|
| io_global_by_wait_by_bytes,x$io_global_by_wait_by_bytes | 全局 I/O 消费者,按字节分组 |  | 
|---|
| io_global_by_wait_by_latency,x$io_global_by_wait_by_latency | 全局 I/O 消费者,按延迟分组 |  | 
|---|
| latest_file_io,x$latest_file_io | 最近的 I/O,按文件和线程分组 |  | 
|---|
| memory_by_host_by_current_bytes,x$memory_by_host_by_current_bytes | 内存使用,按主机分组 |  | 
|---|
| memory_by_thread_by_current_bytes,x$memory_by_thread_by_current_bytes | 内存使用,按线程分组 |  | 
|---|
| memory_by_user_by_current_bytes,x$memory_by_user_by_current_bytes | 内存使用,按用户分组 |  | 
|---|
| memory_global_by_current_bytes,x$memory_global_by_current_bytes | 内存使用,按分配类型分组 |  | 
|---|
| memory_global_total,x$memory_global_total | 总内存使用 |  | 
|---|
| metrics | 服务器指标 |  | 
|---|
| processlist,x$processlist | 进程列表信息 |  | 
|---|
| ps_check_lost_instrumentation | 丢失仪器的变量 |  | 
|---|
| schema_auto_increment_columns | AUTO_INCREMENT 列信息 |  | 
|---|
| schema_index_statistics,x$schema_index_statistics | 指标统计 |  | 
|---|
| schema_object_overview | 每个模式中的对象类型 |  | 
|---|
| schema_redundant_indexes | 重复或冗余索引 |  | 
|---|
| schema_table_lock_waits,x$schema_table_lock_waits | 等待元数据锁的会话 |  | 
|---|
| schema_table_statistics,x$schema_table_statistics | 表统计 |  | 
|---|
| schema_table_statistics_with_buffer,x$schema_table_statistics_with_buffer | 表统计信息,包括 InnoDB 缓冲池统计信息 |  | 
|---|
| schema_tables_with_full_table_scans,x$schema_tables_with_full_table_scans | 通过全扫描访问的表 |  | 
|---|
| schema_unused_indexes | 未使用的索引 |  | 
|---|
| session,x$session | 用户会话的进程列表信息 |  | 
|---|
| session_ssl_status | 连接 SSL 信息 |  | 
|---|
| statement_analysis,x$statement_analysis | 报表汇总统计 |  | 
|---|
| statements_with_errors_or_warnings,x$statements_with_errors_or_warnings | 产生错误或警告的语句 |  | 
|---|
| statements_with_full_table_scans,x$statements_with_full_table_scans | 做过全表扫描的语句 |  | 
|---|
| statements_with_runtimes_in_95th_percentile,x$statements_with_runtimes_in_95th_percentile | 平均运行时间最高的语句 |  | 
|---|
| statements_with_sorting,x$statements_with_sorting | 执行排序的语句 |  | 
|---|
| statements_with_temp_tables,x$statements_with_temp_tables | 使用临时表的语句 |  | 
|---|
| user_summary,x$user_summary | 用户声明和连接活动 |  | 
|---|
| user_summary_by_file_io,x$user_summary_by_file_io | 文件 I/O,按用户分组 |  | 
|---|
| user_summary_by_file_io_type,x$user_summary_by_file_io_type | 文件 I/O,按用户和事件分组 |  | 
|---|
| user_summary_by_stages,x$user_summary_by_stages | 阶段事件,按用户分组 |  | 
|---|
| user_summary_by_statement_latency,x$user_summary_by_statement_latency | 语句统计,按用户分组 |  | 
|---|
| user_summary_by_statement_type,x$user_summary_by_statement_type | 执行的语句,按用户和语句分组 |  | 
|---|
| version | 当前的 sys 模式和 MySQL 服务器版本 | 5.7.28 | 
|---|
| wait_classes_global_by_avg_latency,x$wait_classes_global_by_avg_latency | 等待类平均延迟,按事件类分组 |  | 
|---|
| wait_classes_global_by_latency,x$wait_classes_global_by_latency | 等待类总延迟,按事件类分组 |  | 
|---|
| waits_by_host_by_latency,x$waits_by_host_by_latency | 等待事件,按主机和事件分组 |  | 
|---|
| waits_by_user_by_latency,x$waits_by_user_by_latency | 等待事件,按用户和事件分组 |  | 
|---|
| waits_global_by_latency,x$waits_global_by_latency | 等待事件,按事件分组 |  | 
|---|
| x$ps_digest_95th_percentile_by_avg_us | 95% 视图的辅助视图 |  | 
|---|
| x$ps_digest_avg_latency_distribution | 95% 视图的辅助视图 |  | 
|---|
| x$ps_schema_table_statistics_io | 表统计视图的助手视图 |  | 
|---|
| x$schema_flattened_keys | schema_redundant_indexes 的帮助视图 |  | 
|---|