SHOW STATUS example

suggest change

To get the database server status run this query in either the SQL window of your preferred interface (PHPMyAdmin or other) or on the MySQL CLI interface.

SHOW STATUS;

You can specify whether you wish to receive the SESSION or GLOBAL status of your server. Session status:

SHOW SESSION STATUS;

Global status:

SHOW GLOBAL STATUS;

Like any other SQL command you can add parameters to your query such as the LIKE command:

SHOW [GLOBAL | SESSION] STATUS LIKE 'Key%';

Or the Where command:

SHOW [GLOBAL | SESSION] STATUS WHERE VALUE > 0;

With GLOBAL, the command shows totals for the server. With SESSION, it shows the current connection.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents