Buch, Englisch, 965 Seiten, Format (B × H): 178 mm x 254 mm, Gewicht: 1844 g
A Systematic Method for Improving Execution Speeds
Buch, Englisch, 965 Seiten, Format (B × H): 178 mm x 254 mm, Gewicht: 1844 g
ISBN: 978-1-4842-5583-4
Verlag: Apress
MySQL 8 Query Performance Tuning aims to help you improve query performance using a wide range of strategies. You will know how to analyze queries using both the traditional EXPLAIN command as well as the new EXPLAIN ANALYZE tool. You also will see how to use the Visual Explain feature to provide a visually-oriented view of an execution plan. Coverage of indexes includes indexing strategies and index statistics, and you will learn how histograms can be used to provide input on skewed data distributions that the optimizer can use to improve query performance. You will learn about locks, and how to investigate locking issues. And you will come away with an understanding of how the MySQL optimizer works, including the new hash join algorithm, and how to change the optimizer’s behavior when needed to deliver faster execution times. You will gain the tools and skills needed to delight application users and to squeeze the most value from corporate computing resources.
What You Will Learn - Monitor query performance to identify poor performers
- Choose queries to optimize that will provide the greatest gain
- Analyze queries using tools such as EXPLAIN ANALYZE and Visual Explain
- Improve slow queries through a wide range of strategies
- Properly deploy indexes and histograms to aid in creating fast execution plans
- Understand and analyze locks to resolve contention and increase throughput
Who This Book Is For
Database administrators and SQL developers who are familiar with MySQL and need to participate in query tuning. While some experience with MySQL is required, no prior knowledge of query performance tuning is needed.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Part I. Getting Started1. MySQL Performance Tuning2. Query Tuning Methodology3. Benchmarking with Sysbench4. Test Data
Part II. Sources of Information5. The Performance Schema6. The sys Schema7. The Information Schema8. SHOW Statements9. The Slow Query Log
Part III. Tools10. MySQL Enterprise Monitor11. MySQL Workbench12. MySQL Shell
Part IV. Schema Considerations and the Query Optimizer13. Data Types14. Indexes15. Index Statistics16. Histograms17. The Query Optimizer18. Locking Theory and Monitoring
Part V. Query Analysis19. Finding Candidate Queries for Optimization20. Analyzing Queries21. Transactions22. Diagnosing Lock Contention
Part VI. Improving the Queries23. Configuration24. Change the Query Plan25. DDL and Bulk Data Load26. Replication27. Caching