MySQL5.7SYSSchema的性能框架視圖參數(shù)有哪些-創(chuàng)新互聯(lián)

本篇內(nèi)容主要講解“MySQL5.7  SYS Schema的性能框架視圖參數(shù)有哪些”,感興趣的朋友不妨來(lái)看看。本文介紹的方法操作簡(jiǎn)單快捷,實(shí)用性強(qiáng)。下面就讓小編來(lái)帶大家學(xué)習(xí)“MySQL5.7  SYS Schema的性能框架視圖參數(shù)有哪些”吧!

創(chuàng)新互聯(lián)建站從2013年創(chuàng)立,先為新野等服務(wù)建站,新野等地企業(yè),進(jìn)行企業(yè)商務(wù)咨詢服務(wù)。為新野企業(yè)網(wǎng)站制作PC+手機(jī)+微官網(wǎng)三網(wǎng)同步一站式服務(wù)解決您的所有建站問(wèn)題。

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

到此,相信大家對(duì)“MySQL5.7  SYS Schema的性能框架視圖參數(shù)有哪些”有了更深的了解,不妨來(lái)實(shí)際操作一番吧!這里是創(chuàng)新互聯(lián)網(wǎng)站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!

新聞名稱:MySQL5.7SYSSchema的性能框架視圖參數(shù)有哪些-創(chuàng)新互聯(lián)
網(wǎng)站地址:http://bm7419.com/article48/cdgoep.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站內(nèi)鏈、域名注冊(cè)、動(dòng)態(tài)網(wǎng)站、App開(kāi)發(fā)、移動(dòng)網(wǎng)站建設(shè)品牌網(wǎng)站設(shè)計(jì)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

商城網(wǎng)站建設(shè)