Documentation Home
MySQL 9.5 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 41.4Mb
PDF (A4) - 41.5Mb
Man Pages (TGZ) - 272.2Kb
Man Pages (Zip) - 378.1Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.5 Reference Manual  /  ...  /  mysqldm — The MySQL Diagnostic Monitor

6.5.8 mysqldm — The MySQL Diagnostic Monitor

The diagnostics monitor mysqldm enables you to collect diagnostic data on your MySQL server.

Important

mysqldm is delivered with MySQL Enterprise Edition, only.

Invoke mysqldm like this:

mysqldm [options] [mysqldm-options]

For example:

        > mysqldm -u root -h localhost -p --iterations=5 --delay=20 --output-dir=mysqldm

This example connects to a local server, runs five iterations of diagnostic queries, with a delay of 20 seconds between iterations, and outputs the results to the mysqldm directory in the same location as the command was run.

The diagnostic report is generated as a zip file to either the local directory or a specified path.