MySQL Books

Since November 2017 there has been a steady stream of books written by Oracle employees about MySQL. The books range from introducing new features to a relatively deep dive into more advanced topics.

This page cover the books that either have been published or are scheduled to be published in the near future.

Happy reading.

My Books

I have had the pleasure of writing four books, one of which was together with my colleague Mikiya Okuno. They are on quite different topics: one on MySQL (NDB) Cluster, one on MySQL Connector/Python, a performance tuning book, and one about locks and transactions. These books are described in detail on their own pages:

MySQL Concurrency

MySQL Concurrency

Know how locks work in MySQL and how they relate to transactions. This book explains the major role that locks play in database systems, showing how locks are essential in allowing high-concurrency workloads. You will learn about lock access levels and lock granularities from the user level as well as table locks to record and gap locks. Most importantly, the book covers troubleshooting techniques when locking becomes a pain point.

MySQL 8 Query Performance Tuning

MySQL 8 Query Performance Tuning

Identify, analyze, and improve poorly performing queries that damage user experience and lead to lost revenue for your business. This book will help you make query tuning an integral part of your daily routine through a multi-step process that includes monitoring of execution times, identifying candidate queries for optimization, analyzing their current performance, and improving them to deliver results faster and with less overhead. Author Jesper Krogh systematically discusses each of these steps along with the data sources and the tools used to perform them.

MySQL Connector/Python Revealed

MySQL Connector/Python Revealed

Move data back and forth between database and application. The must-have knowledge in this book helps programmers learn how to use the official driver, MySQL Connector/Python, by which Python programs communicate with the MySQL database.

Pro MySQL NDB Cluster

Pro MySQL NDB Cluster

Create and run a real-time, highly-available, and high-redundancy version of the world’s most popular open-source database, MySQL. You will understand the advantages and disadvantages of the MySQL NDB Cluster solution, and when MySQL NDB Cluster is the right choice.

Books by Oracle Employees

Charles Bell, Mikael Ronström, and David Stokes have also been busy writing books lately. The following books have been released in 2018 or are expected later in the year (in chronological order):

MySQL Cluster 7.5 Inside and Out

MySQL Cluster 7.5 inside and out is written by Mikael Ronström who is the original creator of NDB Cluster. It gives the background of MySQL Cluster and a lot of low level information combined with high level examples of using MySQL Cluster.

Details

MySQL and JSON: A Practical Programming Guide

MySQL and JSON: A Practical Programming Guide is written by David Stokes who is a long term community manager for MySQL.

The book covers how to use JSON with MySQL (supported in version 5.7 and later)  including how to query the data and how to use generated columns with JSON data. The book also includes a discussion about the MySQL Document Store.

Details:

  • Author: David Stokes
  • Publisher: Oracle Press
  • Available: May 2018
  • Book details

Introducing the MySQL 8 Document Store

Dr. Charles Bell gives a thorough introduction to the MySQL Document Store in MySQL 8. It covers all the steps from installation, over JSON in MySQL, MySQL Shell, the X DevAPI, the X Plugin, and the X Protocol to usage and planning.

Details:

  • Author: Charles Bell
  • Publisher: Apress
  • Available: June 2018
  • Book homepage

Introducing InnoDB Cluster

The cover for Introducing InnoDB Cluster, Apress

InnoDB Cluster is the new high-availability solution from MySQL introduced in MySQL 5.7.17 and further developed with MySQL 8. Dr. Charles Bell covers how to use InnoDB Cluster including migration to MySQL 8, configuration, and best practices.

Details

  • Author: Charles Bell
  • Publisher: Apress
  • Available: September 2018
  • Book homepage

Introducing MySQL Shell

Cover for Introducing MySQL Shell

Use MySQL Shell, the first modern and advanced client for connecting to and interacting with MySQL. It supports SQL, Python, and JavaScript. That’s right! You can write Python scripts and execute them within the shell interactively, or in batch mode. The level of automation available from Python combined with batch mode is especially helpful to those practicing DevOps methods in their database environments.

Details

  • Author: Charles Bell
  • Publisher: Apress
  • Available: September 2019
  • Book homepage