Introducing InnoDB Cluster: Learning the MySQL High Availability Stack

  • 5h 49m
  • Charles Bell
  • Apress
  • 2018

Set up, manage, and configure the new InnoDB Cluster feature in MySQL from Oracle. If you are growing your MySQL installation and want to explore making your servers highly available, this book provides what you need to know about high availability and the new tools that are available in MySQL 8.0.11 and later.

Introducing InnoDB Cluster teaches you about the building blocks that make up InnoDB Cluster such as MySQL Group Replication for storing data redundantly, MySQL Router for the routing of inbound connections, and MySQL Shell for simplified setup and configuration, status reporting, and even automatic failover. You will understand how it all works together to ensure that your data are available even when your primary database server goes down.

Features described in this book are available in the Community Edition of MySQL, beginning with the version 8.0.11 GA release, making this book relevant for any MySQL users in need of redundancy against failure. Tutorials in the book show how to configure a test environment and plan a production deployment. Examples are provided in the form of a walk-through of a typical MySQL high-availability setup.

What You'll Learn

  • Discover the newest high-availability features in MySQL
  • Set up and use InnoDB Cluster as an HA solution
  • Migrate your existing servers to MySQL 8
  • Employ best practices for using InnoDB Cluster
  • Configure servers for optimal automatic failover to ensure that applications continue when a server fails
  • Configure MySQL Router to load-balance inbound connections to the cluster

Who This Book Is For

Systems engineers, developers, and database professionals wanting to learn about the powerful high availability (HA) features, beginning with MySQL 8.0.11: MySQL Shell, MySQL Router, and MySQL Group Replication. The book is useful for those designing high-availability systems backed by a database, and for those interested in open source HA solutions.

About the Author

Charles Bell conducts research in emerging technologies. He is a member of the Oracle MySQL development team and is a senior software developer for the MySQL Enterprise backup team. He lives in a small town in rural Virginia with his loving wife. He received his Doctor of Philosophy degree in engineering from Virginia Commonwealth University in 2005.

Charles is an expert in the database field and has extensive knowledge and experience in software development and systems engineering. His research interests include 3D printers, microcontrollers, 3D printing, database systems, software engineering, high availability systems, cloud, and sensor networks. He spends his limited free time as a practicing Maker, focusing on microcontroller projects and refinement of 3D printers.

In this Book

  • Introduction to High Availability
  • What Is MySQL InnoDB Cluster?
  • MySQL Group Replication
  • MySQL Shell
  • High Availability in a Sandbox
  • MySQL Router
  • Example MySQL High Availability Deployment
  • Example Application
  • InnoDB Cluster Administration
  • Planning Your Deployment