File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ Performance Schema是与MySQL性能相关的诊断信息的主要来源。它最
43
43
Listing 5 - 1 . Threads in MySQL 8
44
44
mysql> SELECT THREAD_ID AS TID,
45
45
SUBSTRING_INDEX(NAME, ' /' , - 2 ) AS THREAD_NAME,
46
- IF(TYPE = ' BACKGROUND' , ' *' , " ) AS B,
47
- IFNULL(PROCESSLIST_ID, " ) AS PID
46
+ IF(TYPE = ' BACKGROUND' , ' *' , ' ' ) AS B,
47
+ IFNULL(PROCESSLIST_ID, ' ' ) AS PID
48
48
FROM performance_schema .threads ;
49
49
+ -- ---+--------------------------------------+---+-----+
50
50
| TID | THREAD_NAME | B | PID |
@@ -466,4 +466,4 @@ Rows matched: 1 Changed: 1 Warnings: 0
466
466
467
467
一个重要的概念也是摘要,它允许MySQL通过归一化的查询聚合数据分组。当您要寻找查询调整的候选者时,此功能将特别有用。
468
468
469
- 最后,总结了性能模式中的各种类型的表。最常用的表组是摘要表,它们本质上是报告,可以轻松地\从“性能模式”中访问汇总数据。基于性能模式(在某些情况下是汇总表)的报告的另一个示例是sys模式中可用的信息,这是下一章的主题。
469
+ 最后,总结了性能模式中的各种类型的表。最常用的表组是摘要表,它们本质上是报告,可以轻松地\从“性能模式”中访问汇总数据。基于性能模式(在某些情况下是汇总表)的报告的另一个示例是sys模式中可用的信息,这是下一章的主题。
You can’t perform that action at this time.
0 commit comments