Rechercher dans le manuel MySQL

26.12.17.6 Object Wait Summary Table

The Performance Schema maintains the objects_summary_global_by_type table for aggregating object wait events.

Example object wait event summary information:

  1. mysql> SELECT * FROM performance_schema.objects_summary_global_by_type\G
  2. ...
  3. *************************** 3. row ***************************
  4.    OBJECT_TYPE: TABLE
  5.  OBJECT_SCHEMA: test
  6.    OBJECT_NAME: t
  7.     COUNT_STAR: 3
  8. SUM_TIMER_WAIT: 263126976
  9. MIN_TIMER_WAIT: 1522272
  10. AVG_TIMER_WAIT: 87708678
  11. MAX_TIMER_WAIT: 258428280
  12. ...
  13. *************************** 10. row ***************************
  14.    OBJECT_TYPE: TABLE
  15.  OBJECT_SCHEMA: mysql
  16.    OBJECT_NAME: user
  17.     COUNT_STAR: 14
  18. SUM_TIMER_WAIT: 365567592
  19. MIN_TIMER_WAIT: 1141704
  20. AVG_TIMER_WAIT: 26111769
  21. MAX_TIMER_WAIT: 334783032
  22. ...

The objects_summary_global_by_type table has these grouping columns to indicate how the table aggregates events: OBJECT_TYPE, OBJECT_SCHEMA, and OBJECT_NAME. Each row summarizes events for the given object.

objects_summary_global_by_type has the same summary columns as the events_waits_summary_by_xxx tables. See Section 26.12.17.1, “Wait Event Summary Tables”.

The objects_summary_global_by_type table has these indexes:

  • Primary key on (OBJECT_TYPE, OBJECT_SCHEMA, OBJECT_NAME)

TRUNCATE TABLE is permitted for the object summary table. It resets the summary columns to zero rather than removing rows.


Find a PHP function

Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-objects-summary-global-by-type-table.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:en Manuel MySQL : https://dev.mysql.com/

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut