MySQL 9.0 發行說明
- 29.12.1 Performance Schema 資料表參考
- 29.12.2 Performance Schema 設定資料表
- 29.12.3 Performance Schema 執行個體資料表
- 29.12.4 Performance Schema 等待事件資料表
- 29.12.5 Performance Schema 階段事件資料表
- 29.12.6 Performance Schema 陳述式事件資料表
- 29.12.7 Performance Schema 交易資料表
- 29.12.8 Performance Schema 連線資料表
- 29.12.9 Performance Schema 連線屬性資料表
- 29.12.10 Performance Schema 使用者定義變數資料表
- 29.12.11 Performance Schema 複製資料表
- 29.12.12 Performance Schema NDB Cluster 資料表
- 29.12.13 Performance Schema 鎖定資料表
- 29.12.14 Performance Schema 系統變數資料表
- 29.12.15 Performance Schema 狀態變數資料表
- 29.12.16 Performance Schema 執行緒集區資料表
- 29.12.17 Performance Schema 防火牆資料表
- 29.12.18 Performance Schema 金鑰環資料表
- 29.12.19 Performance Schema 複製資料表
- 29.12.20 Performance Schema 摘要資料表
- 29.12.21 Performance Schema 遙測資料表
- 29.12.22 Performance Schema 雜項資料表
在 performance_schema
資料庫中的資料表可以分組如下
設定資料表。這些資料表用於配置和顯示監控特性。
目前事件資料表。
events_waits_current
資料表包含每個執行緒最近的事件。其他類似的資料表包含事件階層中不同層級的目前事件:events_stages_current
用於階段事件,events_statements_current
用於陳述式事件,以及events_transactions_current
用於交易事件。歷史資料表。這些資料表具有與目前事件資料表相同的結構,但包含更多列。例如,對於等待事件,
events_waits_history
資料表包含每個執行緒最近的 10 個事件。events_waits_history_long
包含最近的 10,000 個事件。其他類似的資料表存在於階段、陳述式和交易歷史中。若要變更歷史資料表的大小,請在伺服器啟動時設定適當的系統變數。例如,若要設定等待事件歷史資料表的大小,請設定
performance_schema_events_waits_history_size
和performance_schema_events_waits_history_long_size
。摘要資料表。這些資料表包含針對事件群組彙總的資訊,包括從歷史資料表中捨棄的事件。
執行個體資料表。這些資料表記錄哪些類型的物件已檢測。當伺服器使用已檢測的物件時,會產生事件。這些資料表提供事件名稱和說明註解或狀態資訊。
雜項資料表。這些資料表不屬於任何其他資料表群組。