Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
MySQL 8 for Big Data

You're reading from  MySQL 8 for Big Data

Product type Book
Published in Oct 2017
Publisher Packt
ISBN-13 9781788397186
Pages 296 pages
Edition 1st Edition
Languages
Concepts
Authors (4):
Shabbir Challawala Shabbir Challawala
Profile icon Shabbir Challawala
Chintan Mehta Chintan Mehta
Profile icon Chintan Mehta
Kandarp Patel Kandarp Patel
Profile icon Kandarp Patel
Jaydip Lakhatariya Jaydip Lakhatariya
Profile icon Jaydip Lakhatariya
View More author details

Table of Contents (17) Chapters

Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Introduction to Big Data and MySQL 8 Data Query Techniques in MySQL 8 Indexing your data for High-Performing Queries Using Memcached with MySQL 8 Partitioning High Volume Data Replication for building highly available solutions MySQL 8 Best Practices NoSQL API for Integrating with Big Data Solutions Case study: Part I - Apache Sqoop for exchanging data between MySQL and Hadoop Case study: Part II - Real time event processing using MySQL applier

Organizing and analyzing data in Hadoop


As we learned in the Chapter 9, Case study: Part I - Apache Sqoop for exchanging data between MySQL and Hadoop, Hadoop can be used for processing unstructured data generated through relational databases like MySQL. In this topic, we will find out how we can use Hadoop for analyzing the unstructured data generated in MySQL 8. Based on our case study of e-commerce store, we will try to find out the bestselling product among the customers based on the order history of customers in e-commerce store. We will transfer the order data generated in MySQL 8 into Apache Hive using MySQL applier. Than we will use Hive Query Language (Hive-QL) for analyzing required data.

Hive-QL uses map-reduce algorithm which makes it much faster to analyze millions of data within seconds. Data generated in Hive can be transferred back to the MySQL 8 as a flat table.

Consider following table of user's order history generated in MySQL 8:

CREATE TABLE IF NOT EXISTS `orderHistory`...
lock icon The rest of the chapter is locked
arrow left Previous Chapter
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}