MySQL 8 Query Performance Tuning: A Systematic Method for Improving Execution Speeds
暫譯: MySQL 8 查詢效能調優:系統化提升執行速度的方法

Krogh, Jesper Wisborg

  • 出版商: Apress
  • 出版日期: 2020-03-17
  • 售價: $1,650
  • 貴賓價: 9.5$1,568
  • 語言: 英文
  • 頁數: 962
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484255836
  • ISBN-13: 9781484255834
  • 相關分類: MySQLSQL
  • 相關翻譯: MySQL 8 查詢性能優化 (簡中版)
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

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 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 turning. While some experience with MySQL is required, no prior knowledge of query performance tuning is needed.

 

商品描述(中文翻譯)

識別、分析並改善表現不佳的查詢,這些查詢會損害用戶體驗並導致企業收入損失。本書將幫助您通過一個多步驟的過程,將查詢調優納入日常工作中,該過程包括監控執行時間、識別優化候選查詢、分析其當前性能,並改善它們以更快且更少開銷地交付結果。作者 Jesper Krogh 系統地討論了這些步驟以及執行這些步驟所需的數據來源和工具。

MySQL 8 查詢性能調優 旨在幫助您使用多種策略來改善查詢性能。您將學會如何使用傳統的 EXPLAIN 命令以及新的 EXPLAIN ANALYZE 工具來分析查詢。您還將看到如何使用 Visual Explain 功能來提供執行計劃的可視化視圖。關於索引的內容包括索引策略和索引統計,您將學習如何使用直方圖來提供有關偏斜數據分佈的輸入,這些輸入可以幫助優化器改善查詢性能。您將了解鎖定及如何調查鎖定問題。您將深入了解 MySQL 優化器的工作原理,包括新的哈希連接算法,以及如何在需要時改變優化器的行為以實現更快的執行時間。您將獲得使應用程序用戶滿意所需的工具和技能,並從企業計算資源中榨取最大的價值。

您將學到什麼


  • 監控查詢性能以識別表現不佳的查詢

  • 選擇優化查詢以獲得最大的收益

  • 使用 EXPLAIN ANALYZE 和 Visual Explain 等工具分析查詢

  • 通過多種策略改善慢查詢

  • 正確部署索引和直方圖以幫助創建快速執行計劃

  • 理解和分析鎖定以解決競爭並提高吞吐量

本書適合誰

本書適合熟悉 MySQL 的資料庫管理員和 SQL 開發人員,並需要參與查詢調優。雖然需要一些 MySQL 的經驗,但不需要先前的查詢性能調優知識。

作者簡介

Jesper Wisborg Krogh has worked with MySQL databases since 2006 both as an SQL developer, a database administrator, and for more than eight years as part of the Oracle MySQL Support team. He has spoken at MySQL Connect and Oracle OpenWorld on several occasions, and addition to his books, he regularly blogs on MySQL topics and has authored around 800 documents in the Oracle Knowledge Base. He has contributed to the sys schema and four Oracle Certified Professional (OCP) exams for MySQL 5.6 to 8.0.

He earned a PhD in computational chemistry before changing to work with MySQL and other software development in 2006. Jesper lives in Sydney, Australia, and enjoys spending time outdoors walking, traveling, and reading. His areas of expertise include MySQL Cluster, MySQL Enterprise Backup, performance tuning, and the Performance and sys schemas.

作者簡介(中文翻譯)

Jesper Wisborg Krogh 自 2006 年以來一直從事 MySQL 資料庫的工作,擔任過 SQL 開發人員、資料庫管理員,並在 Oracle MySQL 支援團隊工作超過八年。他曾多次在 MySQL Connect 和 Oracle OpenWorld 上發表演講,除了他的書籍外,他還定期在 MySQL 主題上撰寫部落格,並在 Oracle 知識庫中撰寫了約 800 篇文件。他對 sys schema 和四個 Oracle 認證專業人員 (OCP) 考試(針對 MySQL 5.6 至 8.0)做出了貢獻。

在 2006 年轉向 MySQL 和其他軟體開發之前,他獲得了計算化學的博士學位。Jesper 目前居住在澳大利亞悉尼,喜歡在戶外散步、旅行和閱讀。他的專業領域包括 MySQL Cluster、MySQL Enterprise Backup、性能調優以及 Performance 和 sys schemas。