Editors and technical reviewers suggested that I cover how to configure MySQL query metrics in chapter 1 of Efficient MySQL Performance, but I deferred because it was out of scope for the book, which focuses on engineers using MySQL, not DBAs. As such, there’s only a note in chapter 1 that says: “Ask your DBA or read the MySQL manual.” But I’ll cover the topic here because that’s what this blog post series is for: behind the book.
After 17 years with MySQL, I wrote a book: Efficient MySQL Performance.
I’ll make a bold claim: a MySQL book like this has never been written—not even close. The preface explains why this book is unique:
After 17 years with MySQL, I wrote a book: Efficient MySQL Performance.
I’ll make a bold claim: a MySQL book like this has never been written—not even close. The preface explains why this book is unique:
After 17 years with MySQL, I wrote a book: Efficient MySQL Performance.
I’ll make a bold claim: a MySQL book like this has never been written—not even close. The preface explains why this book is unique:
When I wrote the book MySQL Concurrency I included a Python module for MySQL Shell that would help reproducing the examples in the book. Since things change, it has been necessary to update the code. In this blog I will explain what the changes are which also give me a chance to say thanks to those that have submitted pull requests.
Version v1.1 was mostly about correcting the directory structure of the repository which was not as it was meant to be – and different from the instructions in the book. Additionally some files with code listings and images were missing. …
[Read more]
In March 2020, my book MySQL 8 Query Performance Tuning (Apress) was
released. That book with its more than 900 pages in 27 chapters
covered a wide range of topics from executing benchmarks with
sysbench
over indexes and the optimizer to query
rewriting, replication, and caching. Some time later my editor
Jonathan Gennick suggested to take a limited set of the topics
and go into more detail. We settled on locks and transactions
which together have become MySQL Concurrency.
If you have already read MySQL 8 Query Performance Tuning, you may wonder what the new book offers compared to the previous one. In some way, you can think of MySQL …
[Read more]To celebrate the publishing of my new book MySQL 8 Query Performance Tuning, the Apress team invited me (thanks Jonathan and Liz) to write a post for the Apress blog. I decided to write about my top six best practices:
- Be wary of best practices
- Monitor
- Work methodically
- Consider the full stack
- Make small, incremental changes
- Understand the change
Yes, my first best practice is to be wary of best practices. Read why I added that and the other best practices at …
[Read more]
I have over the last few years been fortunate to have two books
published through Apress, Pro MySQL NDB Cluster which I wrote together with
Mikiya Okuno and MySQL Connector/Python Revealed. With the release
of MySQL 8 around a year ago, I started to think of how many
changes there has been in the last few MySQL versions. Since
MySQL 5.6 was released as GA in early 2013, some of the major
features related to performance tuning includes the Performance
Schema which was greatly changed in 5.6, histograms,
EXPLAIN ANALYZE
, hash …
When you write programs that uses a database backend, it is necessary to use a connector/API to submit the queries and retrieve the result. If you are writing Python programs that used MySQL, you can use MySQL Connector/Python – the connector developered by Oracle Corporation.
Now there is a new book dedicated to the usage of the connector: MySQL Connector/Python Revealed, which is published by Apress. It is available in a softcover edition as well as an eBook (PDF, ePub, Mobi).
The book is divided into four parts spanning from the installation to error handling and troubleshooting. …
[Read more]In the old days, when we wanted to strengthen our skills the only option was to buy a good book. Nowadays one can find a lot of resources on the Internet, however quality is often poor. Fortunately there are still some great people who are brave enough to write new books that will help a new generation of women and men to build modern applications with MySQL the world's most popular open source database. Let me introduce you 3 MySQL books : Introducing the MySQL 8 Document Store / MySQL and JSON: A Practical Programming Guide / Pro MySQL NDB Cluster