Skip to content

Add a gtid transaction counter based on the @@gtid_executed global variable #965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjmudd
Copy link

@sjmudd sjmudd commented Jul 16, 2025

This PR provides a simple global transaction counter which can be used to track the transaction rate on a MySQL server.

  • The full GTID set is combined into a single transaction count
  • UUIDs are ignored
  • Any GTID gaps are taken into account
  • works on MySQL 5.6+
  • works with MySQL 8.4+ tagged gtid format

This PR provides a simple global transaction counter which can be
used to track the transaction rate on a MySQL server.

- The full GTID set is combined into a single transaction count
- UUIDs are ignored
- Any GTID gaps are taken into account
- works on MySQL 5.6+
- works with MySQL 8.4+ tagged gtid format

Signed-off-by: Simon J Mudd <[email protected]>
@sjmudd
Copy link
Author

sjmudd commented Jul 20, 2025

Hello,

It is not very clear to me how long I should expect to wait for a response to my PR, whether positive or negative. If you could provide some sort of feedback here or in the README that would be most helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant