Spec-Zone .ru
спецификации, руководства, описания, API

5.7.1.2. Command Probes

The command probes are executed before and after a client command is executed, including any SQL statement that might be executed during that period. Commands include operations such as the initialization of the DB, use of the COM_CHANGE_USER operation (supported by the MySQL protocol), and manipulation of prepared statements. Many of these commands are used only by the MySQL client API from various connectors such as PHP and Java.

command-start(connectionid, command, user, host)command-done(status)

The command-start and command-done probes are best used when combined with the statement probes to get an idea of overall execution time.