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

Chapter 9. Case study: Part I - Apache Sqoop for exchanging data between MySQL and Hadoop

In the previous chapter, we learnt about different techniques of using NoSQL API for MySQL. We went through examples of PHP, JSON, and Java to connect and consume data using NoSQL API. In this chapter, we will learn how we can use Apache Sqoop and Hadoop in Big Data life cycle for processing unstructured data to structured data which can be easily manipulated by relational databases such as MySQL.

Below are the topics we are going to cover in this chapter:

  • Case study for log analysis
  • Apache Sqoop overview
  • Integrating Apache Sqoop with MySQL and Hadoop
  • Importing unstructured data to Hadoop HDFS from MySQL
  • Loading structured data to MySQL using Apache Sqoop

In Chapter 1, Introduction to Big Data and MySQL 8, we learnt how MySQL fits into the life cycle of Big Data. Let's say we are creating a people sentiment analysis system based on tweets and Facebook posts made by the users. As we already know, there are...