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 (17 chapters)
Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Setting up Memcached


MySQL has its own Memcached plugin, daemon_memcached, which is tightly integrated with the MySQL server. This improves the performance and avoids network traffic over the traditional Memcached approach.

In the traditional way, Memcached was running on a separate port and as a different process; hence, it would have an overhead of network communication between MySQL and Memcached. However, this plugin made it easy to use and lightweight as it is integrated with the MySQL server itself.

Supported environments for this plugin are as follows:

  • Linux
  • Solaris
  • OS X

Let's see to how to set up the daemon_memcached plugin in the MySQL server. We would have to install this plugin on each of the MySQL server instances, in case we are using the cluster environment of MySQL.

Installation

To enable the Memcached feature with MySQL, we first need to install the dependency for the Memcached plugin. libevent is the dependency that must be installed on the server to enable the Memcached plugin...