What is GTID? 
4c2ad77f-697e-11e3-b2c3-c80aa9f17dc4
- This is the server’s 128 bit identification number (SERVER_UUID). It identifies where the transaction was originated. Every server has its own SERVER_UUID.
What problems GTID solves?
- It is possible to identify a transaction uniquely across the replication servers. Make the automation of failover process much easier. There is no need to do calculations, inspect the binary log and so on. Just MASTER_AUTO_POSITION=1.
- At application level, it is easier to do WRITE/READ split. After a write on the MASTER, you have a GTID so just check if that GTID has been executed on the SLAVE that you use for reads.
- Development of new automation tools isn’t a pain now.
How can I implement it?
Three variables are needed in ALL servers of the …
[Read more]