query-start: Triggered after the query
string has been received from the client. The arguments are:

query: The full text of the submitted
query.

connectionid: The connection ID of
the client that submitted the query. The connection ID
equals the connection ID returned when the client first
connects and the Id value in the
output from SHOW
PROCESSLIST.

database: The database name on which
the query is being executed.

user: The username used to connect to
the server.

host: The hostname of the client.

query-done: Triggered once the query has
been executed and the information has been returned to the
client. The probe includes a single argument,
status, which returns 0 when the query is
successfully executed and 1 if there was an error.

You can get a simple report of the execution time for each query
using the following D script: