MySQL supports the following static probes, organized into groups of functionality.
Table 5.5 MySQL DTrace Probes
| Group | Probes |
|---|---|
| Connection | connection-start, connection-done |
| Command | command-start, command-done |
| Query | query-start, query-done |
| Query Parsing | query-parse-start,
query-parse-done |
| Query Cache | query-cache-hit, query-cache-miss |
| Query Execution | query-exec-start, query-exec-done |
| Row Level | insert-row-start, insert-row-done |
update-row-start, update-row-done | |
delete-row-start, delete-row-done | |
| Row Reads | read-row-start, read-row-done |
| Index Reads | index-read-row-start,
index-read-row-done |
| Lock | handler-rdlock-start,
handler-rdlock-done |
handler-wrlock-start,
handler-wrlock-done | |
handler-unlock-start,
handler-unlock-done | |
| Filesort | filesort-start, filesort-done |
| Statement | select-start, select-done |
insert-start, insert-done | |
insert-select-start,
insert-select-done | |
update-start, update-done | |
multi-update-start,
multi-update-done | |
delete-start, delete-done | |
multi-delete-start,
multi-delete-done | |
| Network | net-read-start, net-read-done,
net-write-start,
net-write-done |
| Keycache | keycache-read-start,
keycache-read-block,
keycache-read-done,
keycache-read-hit,
keycache-read-miss,
keycache-write-start,
keycache-write-block,
keycache-write-done |
When extracting the argument data from the probes, each argument
is available as
arg, starting
with Narg0. To identify each argument within
the definitions they are provided with a descriptive name, but
you must access the information using the corresponding
arg parameter.
N