• ADADADADAD

    MySQL5.7 SYS Schema的性能框架视图参数有哪些[ mysql数据库 ]

    mysql数据库 时间:2024-11-26 22:09:41

    作者:文/会员上传

    简介:

    1host_summary 和 x$host_summary Views视图显示了语句活动,文件io和连接信息,由host分组2host_summary_by_file_io 和 x$host_summary_by_file_io Views视图总计了文件io,由ho

    以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。

    1host_summary 和 x$host_summary Views
    视图显示了语句活动,文件io和连接信息,由host分组
    2host_summary_by_file_io 和 x$host_summary_by_file_io Views
    视图总计了文件io,由host分组
    3host_summary_by_file_io_type 和 x$host_summary_by_file_io_type Views
    视图总计了文件io,由host和event类型分组。
    4host_summary_by_stages 和 x$host_summary_by_stages Views
    总计语句stage,由host分组
    5host_summary_by_statement_latency 和 x$host_summary_by_statement_latency Views
    总计语句的统计信息,由host分组
    6host_summary_by_statement_type 和 x$host_summary_by_statement_type Views
    总计语句的执行,由host和语句类型分组
    7innodb_buffer_stats_by_schema 和 x$innodb_buffer_stats_by_schema Views
    统计information_schema.innodb_buffer_page,由schema分组,object_schema为对象的schema,如果为innodb表属于innodb system。
    8innodb_buffer_stats_by_table 和 x$innodb_buffer_stats_by_table Views
    统计information_schema.innodb_buffer_page,由表名分组。
    9innodb_lock_waits 和 x$innodb_lock_waits Views
    总计了innodb锁等待。列如下:
    wait_started:等待开始事件。
    wait_age:等待锁的时间长度。
    wait_age_secs:等待了多少秒。
    locked_table:被锁定的表。
    locked_index:被锁的索引
    locked_type:锁等待类型
    waiting_trx_started:等待事务的开始事件。
    waiting_trx_age:等待事务等待时间。
    waiting_trx_rows_locked:等待事务锁定的行锁个数。
    ……
    10io_by_thread_by_latency 和 x$io_by_thread_by_latency Views
    总计了IO消费者显示了线程的IO等待。
    11io_global_by_file_by_bytes 和 x$io_global_by_file_by_bytes Views
    总计了IO消费者显示每个文件的读写量,由文件分组
    12io_global_by_file_by_latency 和 x$io_global_by_file_by_latency Views
    总结io消费者显示io次数和延迟事件,由文件分组
    13io_global_by_wait_by_bytes 和 x$io_global_by_wait_by_bytes Views
    每个event的总io字节。
    14io_global_by_wait_by_latency 和 x$io_global_by_wait_by_latency Views
    每个event的总io次数和io等待时间
    15latest_file_io 和 x$latest_file_io Views
    总计活动的文件IO,由文件和线程分组。
    16memory_by_host_by_current_bytes 和 x$memory_by_host_by_current_bytes Views
    总计host使用的总内存
    17memory_by_thread_by_current_bytes 和 x$memory_by_thread_by_current_bytes Views
    线程的内存使用
    18memory_by_user_by_current_bytes 和 x$memory_by_user_by_current_bytes Views
    总计用户使用的内存
    19memory_global_by_current_bytes 和 x$memory_global_by_current_bytes Views
    每个分配类型分配的内存
    20memory_global_total 和 x$memory_global_total Views
    服务的总内存使用
    21metrics View
    视图总计mysql服务的指标,显示变量名,变量值,类型和他们的启动情况。视图在mysql 5.7.9被添加,视图主要包含信息:
    o全局的状态变量,来至于global_status表。
    o来自information_schema.global_status.Innodb指标
    o当前和所有内存分配
    o当前时间
    有一些在global_status和innodb_status中有重复的指标,metrics视图会进行消除。
    22processlist 和 x$processlist Views
    比showprocesslist返回的信息更加详细
    23ps_check_lost_instrumentation View
    返回丢失的性能框架记录点,显示是否性能框架可以跟踪所有数据。
    24schema_auto_increment_columns View
    视图显示了有auto_increment的列,并且提供了有用的信息。
    25schema_index_statistics 和 x$schema_index_statistics Views
    视图提供的所有统计信息
    26schema_object_overview View
    schema下对象统计
    27schema_redundant_indexes 和 x$schema_flattened_keys Views
    显示了冗余的索引
    28schema_table_lock_waits 和 x$schema_table_lock_waits Views
    显示了哪些会话被元数据锁锁定,什么锁定了它们
    29schema_table_statistics 和 x$schema_table_statistics Views
    表操作的统计,io和延迟的统计
    30schema_table_statistics_with_buffer 和 x$schema_table_statistics_with_buffer Views
    表操作的统计,io和延迟的统计,和内存的分配
    31schema_tables_with_full_table_scans 和 x$schema_tables_with_full_table_scans Views
    显示了哪些表被表扫描访问
    32schema_unused_indexes View
    未使用过的索引
    33session 和 x$session Views
    和processlist相似但是不显示后台进程
    34session_ssl_status View
    对于每个连接显示SSL版本,chipher和count
    35statement_analysis 和 x$statement_analysis Views
    显示了语句的执行情况,执行次数,响应行数,延迟等
    36statements_with_errors_or_warnings 和 x$statements_with_errors_or_warnings Views
    语句的错误或者警告
    37statements_with_full_table_scans 和 x$statements_with_full_table_scans Views
    用到了表扫描的语句
    38statements_with_runtimes_in_95th_percentile和x$statements_with_runtimes_in_95th_percentile Views
    runtimes在95%以内的语句
    39statements_with_sorting 和 x$statements_with_sorting Views
    执行了排序的语句
    40statements_with_temp_tables 和 x$statements_with_temp_tables Views
    使用了临时表的语句
    41user_summary 和 x$user_summary Views
    用户总计信息,包含语句,文件io,连接
    42user_summary_by_file_io 和 x$user_summary_by_file_io Views
    用户文件io总计
    43user_summary_by_file_io_type 和 x$user_summary_by_file_io_type Views
    用户文件io类型总计
    44user_summary_by_stages 和 x$user_summary_by_stages Views
    用户stage事件总计
    45user_summary_by_statement_latency 和 x$user_summary_by_statement_latency Views
    用户在执行语句上的延迟
    46user_summary_by_statement_type 和 x$user_summary_by_statement_type Views
    用户在语句类型上的延迟
    47version View
    版本
    48wait_classes_global_by_avg_latency 和 x$wait_classes_global_by_avg_latency Views
    等待类型延迟汇总,由平均延迟排序
    49wait_classes_global_by_latency 和 x$wait_classes_global_by_latency Views
    等待类型延迟汇总,由总延迟排序
    50waits_by_host_by_latency 和 x$waits_by_host_by_latency Views
    host,等待事件延迟汇总
    51waits_by_user_by_latency 和 x$waits_by_user_by_latency Views
    用户等待事件延迟
    52waits_global_by_latency 和 x$waits_global_by_latency Views
    等待事件延迟。

    MySQL5.7 SYS Schema的性能框架视图参数有哪些.docx

    将本文的Word文档下载到电脑

    推荐度:

    下载
    热门标签: mysqlschema