久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

MySQL5.7 SYS Schema的性能框架視圖參數有哪些

151次閱讀
沒有評論

共計 4452 個字符,預計需要花費 12 分鐘才能閱讀完成。

本篇內容主要講解“MySQL5.7  SYS Schema 的性能框架視圖參數有哪些”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實用性強。下面就讓丸趣 TV 小編來帶大家學習“MySQL5.7  SYS Schema 的性能框架視圖參數有哪些”吧!

1 host_summary 和 x$host_summary Views
視圖顯示了語句活動,文件 io 和連接信息,由 host 分組
2 host_summary_by_file_io 和 x$host_summary_by_file_io Views
視圖總計了文件 io,由 host 分組
3 host_summary_by_file_io_type 和 x$host_summary_by_file_io_type Views
視圖總計了文件 io,由 host 和 event 類型分組。
4 host_summary_by_stages 和 x$host_summary_by_stages Views
總計語句 stage,由 host 分組
5 host_summary_by_statement_latency 和 x$host_summary_by_statement_latency Views
總計語句的統計信息, 由 host 分組
6 host_summary_by_statement_type 和 x$host_summary_by_statement_type Views
總計語句的執行,由 host 和語句類型分組
7 innodb_buffer_stats_by_schema 和 x$innodb_buffer_stats_by_schema Views
統計 information_schema.innodb_buffer_page, 由 schema 分組,object_schema 為對象的 schema,如果為 innodb 表屬于 innodb system。
8 innodb_buffer_stats_by_table 和 x$innodb_buffer_stats_by_table Views
統計 information_schema.innodb_buffer_page, 由表名分組。
9 innodb_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: 等待事務鎖定的行鎖個數。
……
10 io_by_thread_by_latency 和 x$io_by_thread_by_latency Views
總計了 IO 消費者顯示了線程的 IO 等待。
11 io_global_by_file_by_bytes 和 x$io_global_by_file_by_bytes Views
總計了 IO 消費者顯示每個文件的讀寫量,由文件分組
12 io_global_by_file_by_latency 和 x$io_global_by_file_by_latency Views
總結 io 消費者顯示 io 次數和延遲事件,由文件分組
13 io_global_by_wait_by_bytes 和 x$io_global_by_wait_by_bytes Views
每個 event 的總 io 字節。
14 io_global_by_wait_by_latency 和 x$io_global_by_wait_by_latency Views
每個 event 的總 io 次數和 io 等待時間
15 latest_file_io 和 x$latest_file_io Views
總計活動的文件 IO,由文件和線程分組。
16 memory_by_host_by_current_bytes 和 x$memory_by_host_by_current_bytes Views
總計 host 使用的總內存
17 memory_by_thread_by_current_bytes 和 x$memory_by_thread_by_current_bytes Views
線程的內存使用
18 memory_by_user_by_current_bytes 和 x$memory_by_user_by_current_bytes Views
總計用戶使用的內存
19 memory_global_by_current_bytes 和 x$memory_global_by_current_bytes Views
每個分配類型分配的內存
20 memory_global_total 和 x$memory_global_total Views
服務的總內存使用
21 metrics View
視圖總計 mysql 服務的指標,顯示變量名,變量值,類型和他們的啟動情況。視圖在 mysql 5.7.9 被添加,視圖主要包含信息:
o 全局的狀態變量,來至于 global_status 表。
o 來自 information_schema.global_status.Innodb 指標
o 當前和所有內存分配
o 當前時間
有一些在 global_status 和 innodb_status 中有重復的指標,metrics 視圖會進行消除。
22 processlist 和 x$processlist Views
比 showprocesslist 返回的信息更加詳細
23 ps_check_lost_instrumentation View
返回丟失的性能框架記錄點,顯示是否性能框架可以跟蹤所有數據。
24 schema_auto_increment_columns View
視圖顯示了有 auto_increment 的列,并且提供了有用的信息。
25 schema_index_statistics 和 x$schema_index_statistics Views
視圖提供的所有統計信息
26 schema_object_overview View
schema 下對象統計
27 schema_redundant_indexes 和 x$schema_flattened_keys Views
顯示了冗余的索引
28 schema_table_lock_waits 和 x$schema_table_lock_waits Views
顯示了哪些會話被元數據鎖鎖定,什么鎖定了它們
29 schema_table_statistics 和 x$schema_table_statistics Views
表操作的統計,io 和延遲的統計
30 schema_table_statistics_with_buffer 和 x$schema_table_statistics_with_buffer Views
表操作的統計,io 和延遲的統計,和內存的分配
31 schema_tables_with_full_table_scans 和 x$schema_tables_with_full_table_scans Views
顯示了哪些表被表掃描訪問
32 schema_unused_indexes View
未使用過的索引
33 session 和 x$session Views
和 processlist 相似但是不顯示后臺進程
34 session_ssl_status View
對于每個連接顯示 SSL 版本,chipher 和 count
35 statement_analysis 和 x$statement_analysis Views
顯示了語句的執行情況,執行次數,響應行數,延遲等
36 statements_with_errors_or_warnings 和 x$statements_with_errors_or_warnings Views
語句的錯誤或者警告
37 statements_with_full_table_scans 和 x$statements_with_full_table_scans Views
用到了表掃描的語句
38 statements_with_runtimes_in_95th_percentile 和 x$statements_with_runtimes_in_95th_percentile Views
runtimes 在 95% 以內的語句
39 statements_with_sorting 和 x$statements_with_sorting Views
執行了排序的語句
40 statements_with_temp_tables 和 x$statements_with_temp_tables Views
使用了臨時表的語句
41 user_summary 和 x$user_summary Views
用戶總計信息,包含語句,文件 io,連接
42 user_summary_by_file_io 和 x$user_summary_by_file_io Views
用戶文件 io 總計
43 user_summary_by_file_io_type 和 x$user_summary_by_file_io_type Views
用戶文件 io 類型總計
44 user_summary_by_stages 和 x$user_summary_by_stages Views
用戶 stage 事件總計
45 user_summary_by_statement_latency 和 x$user_summary_by_statement_latency Views
用戶在執行語句上的延遲
46 user_summary_by_statement_type 和 x$user_summary_by_statement_type Views
用戶在語句類型上的延遲
47 version View
版本
48 wait_classes_global_by_avg_latency 和 x$wait_classes_global_by_avg_latency Views
等待類型延遲匯總,由平均延遲排序
49 wait_classes_global_by_latency 和 x$wait_classes_global_by_latency Views
等待類型延遲匯總,由總延遲排序
50 waits_by_host_by_latency 和 x$waits_by_host_by_latency Views
host,等待事件延遲匯總
51 waits_by_user_by_latency 和 x$waits_by_user_by_latency Views
用戶等待事件延遲
52 waits_global_by_latency 和 x$waits_global_by_latency Views
等待事件延遲。

到此,相信大家對“MySQL5.7  SYS Schema 的性能框架視圖參數有哪些”有了更深的了解,不妨來實際操作一番吧!這里是丸趣 TV 網站,更多相關內容可以進入相關頻道進行查詢,關注我們,繼續學習!

正文完
 
丸趣
版權聲明:本站原創文章,由 丸趣 2023-07-19發表,共計4452字。
轉載說明:除特殊說明外本站除技術相關以外文章皆由網絡搜集發布,轉載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 博白县| 师宗县| 神农架林区| 西昌市| 辰溪县| 黔西| 临安市| 贞丰县| 惠水县| 青海省| 驻马店市| 临桂县| 民和| 札达县| 唐河县| 新河县| 红原县| 仪征市| 临武县| 潼关县| 延吉市| 平乐县| 玉门市| 旅游| 赤壁市| 德昌县| 电白县| 洛川县| 拜城县| 中西区| 瓦房店市| 松原市| 天台县| 武平县| 无锡市| 法库县| 禄丰县| 桓台县| 乡宁县| 宜兰市| 安吉县|