No cache version.

Caching disabled. Default setting for this page:enabled (code DEF204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher dans le manuel MySQL

27.4.4.21 The ps _statement _avg _latency _histogram () Procedure

Displays a textual histogram graph of the average latency values across all normalized statements tracked within the Performance Schema events_statements_summary_by_digest table.

This procedure can be used to display a very high-level picture of the latency distribution of statements running within this MySQL instance.

Parameters

None.

Contents Haut

Example

The histogram output in statement units. For example, * = 2 units in the histogram legend means that each * character represents 2 statements.

  1. mysql> CALL sys.ps_statement_avg_latency_histogram()\G
  2. *************************** 1. row ***************************
  3. Performance Schema Statement Digest Average Latency Histogram:
  4.  
  5.   . = 1 unit
  6.   * = 2 units
  7.   # = 3 units
  8.  
  9. (0 - 66ms)     88  | #############################
  10. (66 - 133ms)   14  | ..............
  11. (133 - 199ms)  4   | ....
  12. (199 - 265ms)  5   | **
  13. (265 - 332ms)  1   | .
  14. (332 - 398ms)  0   |
  15. (398 - 464ms)  1   | .
  16. (464 - 531ms)  0   |
  17. (531 - 597ms)  0   |
  18. (597 - 663ms)  0   |
  19. (663 - 730ms)  0   |
  20. (730 - 796ms)  0   |
  21. (796 - 863ms)  0   |
  22. (863 - 929ms)  0   |
  23. (929 - 995ms)  0   |
  24. (995 - 1062ms) 0   |
  25.  
  26.   Total Statements: 114; Buckets: 16; Bucket Size: 66 ms;

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-sys-ps-statement-avg-latency-histogram.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