Gen AI in Business - Global Trends Report 2024.pdf
MySQL Replication Alternative: Pros and Cons
1. MySQL replication alternatives: Pros and Cons Darpan Dinker VP Engineering Schooner Information Technology, Inc.http://www.schoonerinfotech.com/ Oracle, MySQL, Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
2. MySQL/InnoDB Replication Replication for databases is critical High Availability: avoid SPOF, fail-over for service continuity, DR Scale-Out: scale reads on replicas Misc. administrative tasks: upgrades, schema changes, backup, PITR ... MySQL/InnoDB with base replication has serious gaps Failover is not straight-forward Possibility of data loss and data inconsistency Possibility of stale data read on Slaves Writes on Master need to be de-rated to Slave’s single-thread applier performance (forcing unnecessary sharding) Applications and deployments need to work around these issues or live with the consequences Several alternatives exist with different design considerations
3. Replication Options for MySQL/InnoDB on Commodity HW Qualitative Comparison Integrated Replication External Replication MySQL async Available in MySQL 5.1, 5.5 MySQL semi-sync Available in MySQL 5.5 Schooner sync Available in Schooner Active Cluster GoldenGate Tungsten DRBD Available on Linux
56. Oracle, Microsoft SQL Server, IBM DB2, MySQLOracle and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
63. Oracle, Microsoft SQL Server, IBM DB2, MySQLOracle and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
71. Global Tx ID, useful to point to new master upon failure
72. SaaS & ISP feature: Parallel replication for multi-tenant MySQL databasesTungsten is a registered trademark of Continuent http://code.google.com/p/tungsten-replicator/
80. Global Tx ID, useful to point to new master upon failure
81. SaaS & ISP feature: Parallel replication for multi-tenant MySQL databasesTungsten is a registered trademark of Continuent http://code.google.com/p/tungsten-replicator/
82.
83. After each commit, the Stand-by server is guaranteed to have identical blocks on device
123. Try it out!Schooner Active Cluster is available for a free trial.http://www.schoonerinfotech.com/free_trials Darpan Dinker darpan@schoonerinfotech.com Twitter: @darpandinker Schooner Information Technology, Inc.http://www.schoonerinfotech.com/