下表列出 sys
schema 物件,並提供每個物件的簡短描述。
表格 30.1 sys Schema 表格和觸發器
表格 30.2 sys Schema 視圖
視圖名稱 |
描述 |
已棄用 |
---|
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 |
依 schema 分組的 InnoDB 緩衝區資訊 |
|
---|
innodb_buffer_stats_by_table 、x$innodb_buffer_stats_by_table |
依 schema 和表格分組的 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 |
總記憶體使用量 |
|
---|
指標 |
伺服器指標 |
|
---|
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 |
依使用者和陳述式分組的已執行陳述式 |
|
---|
版本 |
目前的 sys 結構描述和 MySQL 伺服器版本 |
是 |
---|
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 的輔助檢視 |
|
---|