Rechercher dans le manuel MySQL

5.1.10 Server Status Variables

The MySQL server maintains many status variables that provide information about its operation. You can view these variables and their values by using the SHOW [GLOBAL | SESSION] STATUS statement (see Section 13.7.6.35, “SHOW STATUS Syntax”). The optional GLOBAL keyword aggregates the values over all connections, and SESSION shows the values for the current connection.

  1. +-----------------------------------+------------+
  2. | Variable_name                     | Value      |
  3. +-----------------------------------+------------+
  4. | Aborted_clients                   | 0          |
  5. | Aborted_connects                  | 0          |
  6. | Bytes_received                    | 155372598  |
  7. | Bytes_sent                        | 1176560426 |
  8. ...
  9. | Connections                       | 30023      |
  10. | Created_tmp_disk_tables           | 0          |
  11. | Created_tmp_files                 | 3          |
  12. | Created_tmp_tables                | 2          |
  13. ...
  14. | Threads_created                   | 217        |
  15. | Threads_running                   | 88         |
  16. | Uptime                            | 1389872    |
  17. +-----------------------------------+------------+

Many status variables are reset to 0 by the FLUSH STATUS statement.

This section provides a description of each status variable. For a status variable summary, see Section 5.1.6, “Server Status Variable Reference”.

The status variables have the following meanings.


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-server-status-variables.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