Book Image

MySQL 8 for Big Data

By : Shabbir Challawala, Chintan Mehta, Kandarp Patel, Jaydip Lakhatariya
Book Image

MySQL 8 for Big Data

By: Shabbir Challawala, Chintan Mehta, Kandarp Patel, Jaydip Lakhatariya

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

Implementing NoSQL APIs


So far, we have seen how NoSQL databases can help in various ways and also walked through the differences between SQL and NoSQL. Now you might be wondering how we can store/retrieve data to MySQL? MySQL 8 is already providing many APIs in different languages to access MySQL, which works like NoSQL. MySQL has implemented NoSQL interfaces on the top of InnoDB and MySQL Cluster engines, which bypass the SQL layer completely.

Hence, it will store key/value data directly to the MySQL tables with higher speed without doing SQL parsing and optimization. MySQL still maintains all the advantages of its existing relational database infrastructure and the user can continue executing complex queries with SQL on the same datasets.

There are mainly two types of NoSQL APIs used with MySQL 8 in various programming languages.

  • NoSQL API with the Memcached layer
    • NoSQL API with Java
    • NoSQL API with PHP
    • NoSQL API with Python
    • NoSQL API with Perl
  • NoSQL API with NDB Cluster
    • NDB API for NodeJS
    • NDB...