Book Image

MySQL 8 for Big Data

By : Jaydip Lakhatariya, Mehta, Challawala, Patel
Book Image

MySQL 8 for Big Data

By: Jaydip Lakhatariya, Mehta, Challawala, Patel

Overview of this book

With organizations handling large amounts of data on a regular basis, MySQL has become a popular solution to handle this structured Big Data. In this book, you will see how DBAs can use MySQL 8 to handle billions of records, and load and retrieve data with performance comparable or superior to commercial DB solutions with higher costs. Many organizations today depend on MySQL for their websites and a Big Data solution for their data archiving, storage, and analysis needs. However, integrating them can be challenging. This book will show you how to implement a successful Big Data strategy with Apache Hadoop and MySQL 8. It will cover real-time use case scenario to explain integration and achieve Big Data solutions using technologies such as Apache Hadoop, Apache Sqoop, and MySQL Applier. Also, the book includes case studies on Apache Sqoop and real-time event processing. By the end of this book, you will know how to efficiently use MySQL 8 to manage data for your Big Data applications.
Table of Contents (11 chapters)

Group replication


A traditional MySQL replication implies to the master-slave architecture when write operations are performed by one server acting as master and other servers acting as slave are configured to periodically execute the replication to fetch data from the master and store locally. Each slaves in the master-slave replication has their own copy of the data and slaves do not share any information between them, basically we can term it as shared-nothing mechanism.

MySQL 8 has built in support for the Group replication. Group replication consists of more than one server each of which can act as master server. Servers in the group co-ordinate with message passing mechanism. For example, if any transaction commit operations is requested, it is relayed to the server group. Server group then approves a transaction and one of the server commits the write operation which then replicated to the group. For any read operation, no approval is needed from the server group and all such read...