Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Advanced MySQL 8

You're reading from  Advanced MySQL 8

Product type Book
Published in Jan 2019
Publisher
ISBN-13 9781788834445
Pages 286 pages
Edition 1st Edition
Languages
Authors (3):
Eric Vanier Eric Vanier
Profile icon Eric Vanier
Birju Shah Birju Shah
Profile icon Birju Shah
Tejaswi Malepati Tejaswi Malepati
Profile icon Tejaswi Malepati
View More author details

Table of Contents (13) Chapters

Preface 1. Introduction 2. MySQL 8's New Features 3. Indexing Your Data for High Performance 4. Advanced Data Techniques for Large Queries 5. MySQL Data Dictionary in MySQL 8.0 6. MySQL Server Settings 7. Group Replication in MySQL 8.0 8. InnoDB Cluster in MySQL 8.0 9. Monitoring Your Large Distributed Databases 10. Authentication and Security Management with MySQL 8.0 11. Advanced MySQL Performance Tips and Techniques 12. Other Books You May Enjoy

Summary

There are several SQL databases, among which MySQL is one; it has a number of unique features that are better than those of other databases due to its ease of implementation for enhancing efficiency and optimizing it. But due to this ease, many implementations land in an anti-pattern side, which results in the deterioration of performance.

This chapter provides different tips/best practices and techniques that help in overcoming these situations. We started with caching queries as shock absorbers for same query repetition, optimizing queries based on an execution plan using EXPLAIN, limiting the result set size with LIMIT, indexing search fields, the disadvantages of using SELECT */COUNT *, the recommended way of having an ID field along with other columns, optimization using prepared statements, splitting big DELETE/INSERT statements to avoid a deadlock state, and the...

lock icon The rest of the chapter is locked
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}