Skip to content
Replication Internals: Decoding the MySQL Binary Log Part 5: GTID_LOG_EVENT — The Global Transaction Identifier
← Back to blogMySQL

Replication Internals: Decoding the MySQL Binary Log Part 5: GTID_LOG_EVENT — The Global Transaction Identifier

In this fifth post of our series, we decode the GTID_LOG_EVENT — the event that marks every transaction with a globally unique identifier. Introduction Every transaction in a GTID-enabled MySQL server begins with a GTID_LOG_EVENT (event type 33, 0x21). This event assigns a globally unique identifier to the transaction, consisting of: SID (Source ID): The UUID of the server that originally committed the transaction GNO (Group Number): A monotonically increasing sequence number Together

Marcelo Altmann

Marcelo Altmann

2026-03-25 · 13 min read

Want to see Readyset in action?

Book a demo and see how Readyset can accelerate your database.