#### 27.12.20.6 对象等待汇总表

[](<>)[](<>)

性能模式维护[`objects_summary_global_by_type`](performance-schema-objects-summary-global-by-type-table.html)用于聚合对象等待事件的表。

示例对象等待事件摘要信息：

```
mysql> SELECT * FROM performance_schema.objects_summary_global_by_type\G
...
*************************** 3. row ***************************
   OBJECT_TYPE: TABLE
 OBJECT_SCHEMA: test
   OBJECT_NAME: t
    COUNT_STAR: 3
SUM_TIMER_WAIT: 263126976
MIN_TIMER_WAIT: 1522272
AVG_TIMER_WAIT: 87708678
MAX_TIMER_WAIT: 258428280
...
*************************** 10. row ***************************
   OBJECT_TYPE: TABLE
 OBJECT_SCHEMA: mysql
   OBJECT_NAME: user
    COUNT_STAR: 14
SUM_TIMER_WAIT: 365567592
MIN_TIMER_WAIT: 1141704
AVG_TIMER_WAIT: 26111769
MAX_TIMER_WAIT: 334783032
...
```

这[`objects_summary_global_by_type`](performance-schema-objects-summary-global-by-type-table.html)表有这些分组列来指示表如何聚合事件：`OBJECT_TYPE`,`OBJECT_SCHEMA`， 和`OBJECT_NAME`.每行总结给定对象的事件。

[`objects_summary_global_by_type`](performance-schema-objects-summary-global-by-type-table.html)具有与`events_waits_summary_by_*`xxx`*`表。看[第 27.12.20.1 节，“等待事件汇总表”](performance-schema-wait-summary-tables.html).

这[`objects_summary_global_by_type`](performance-schema-objects-summary-global-by-type-table.html)表有这些索引：

-   主键打开 (`OBJECT_TYPE`,`OBJECT_SCHEMA`,`OBJECT_NAME`)

[`截断表`](truncate-table.html)对象汇总表允许。它将汇总列重置为零，而不是删除行。
