由于PHP DOCS不鼓励使用mysql
扩展。改为使用mysqli
。
字段含义:
o Uptime
The number of seconds the MySQL server has been running.
o Threads
The number of active threads (clients).
o Questions
The number of questions (queries) from clients since the server was
started.
o Slow queries
The number of queries that have taken more than long_query_time
seconds. (MySQL DOSC "The Slow Query Log" section).
o Opens
The number of tables the server has opened.
o Flush tables
The number of flush-*, refresh, and reload commands the server has
executed.
o Open tables
The number of tables that currently are open.
o Memory in use
The amount of memory allocated directly by mysqld. This value is
displayed only when MySQL has been compiled with safemalloc, which
is available only before MySQL 5.5.6.
o Maximum memory used
The maximum amount of memory allocated directly by mysqld. This
value is displayed only when MySQL has been compiled with
safemalloc, which is available only before MySQL 5.5.6.
要重置此值#> mysqladmin flush-host
,请在您的 mysql 服务器终端中使用。