MySQL User-Space Markers

Newer versions of MySQL include support for SystemTap user-space markers. The MySQL user-space markers are enabled in Fedora 15. The markers allow SystemTap to probe various MySQL events including the start of a query, the completion of a query and lock operations. You can list the available probe points with the following command:

Using MySQL User-Space Markers

To use the MySQL user-space markers on Fedora you will need:

Examples and Demonstrations of Markers

Some short SystemTap example scripts for MySQL:

There are also a number of MySQL SystemTap probing examples in http://github.com/posulliv/stap

References

None: MysqlMarkers (last edited 2012-01-12 19:23:21 by WilliamCohen)