MySQL Concurrency: Locking and Transactions for MySQL Developers and Dbas (MySQL 並發:MySQL 開發者與 DBA 的鎖定與交易)
Krogh, Jesper Wisborg
買這商品的人也買了...
-
$2,250$2,138 -
$2,370$2,252 -
$2,907C++ Templates: The Complete Guide, 2/e (Hardcover)
-
$2,070Jenkins 2: Up and Running: Evolve Your Deployment Pipeline for Next Generation Automation (Paperback)
-
$1,480Prometheus: Up & Running: Infrastructure and Application Performance Monitoring
-
$1,680$1,646 -
$1,710System Design Interview – An Insider's Guide: Volume 2 (Paperback)
-
$780$616 -
$3,470$3,297
相關主題
商品描述
Several of the lock types in MySQL have a duration of a transaction. For this reason, it is important to understand how transactions work. This book covers the basics of transactions as well as transaction isolation levels and how they affect locking. The book is meant to be your go-to resource for solving locking contention and similar problems in high-performance MySQL database applications.
Detecting locking issues when they occur is the first key to resolving such issues. MySQL Concurrency provides techniques for detecting locking issues such as contention. The book shows how to analyze locks that are causing contention to see why those locks are in place. A collection of six comprehensive case studies combine locking and transactional theory with realistic lock conflicts. The case studies walk you through the symptoms to look for in order to identify which issue you are facing, the cause of the conflict, its analysis, solution, and how to prevent the issue in the future. What You Will Learn
- Understand which lock types exist in MySQL and how they are used
- Choose the best transaction isolation level for a given transaction
- Detect and analyze lock contention when it occurs
- Reduce locking issues in your applications
- Resolve deadlocks between transactions
- Resolve InnoDB record-level locking issues
- Resolve issues from metadata and schema locks
Who This Book Is For
Database administrators and SQL developers who are familiar with MySQL and want to gain a better understanding of locking and transactions as well as how to work with them. While some experience with MySQL is required, no prior knowledge of locks and transactions is needed.
商品描述(中文翻譯)
了解MySQL中的鎖定機制以及它們與事務的關聯。本書解釋了鎖定在數據庫系統中的重要作用,展示了鎖定在實現高並發工作負載中的必要性。您將學習到從用戶級別的鎖定訪問級別和鎖定粒度,以及表鎖定和記錄鎖定、間隙鎖定等。最重要的是,本書還介紹了當鎖定成為痛點時的故障排除技巧。
MySQL中的幾種鎖定類型的持續時間與事務相關。因此,了解事務的工作原理非常重要。本書介紹了事務的基礎知識,以及事務隔離級別及其對鎖定的影響。本書旨在成為您在高性能MySQL數據庫應用程序中解決鎖定競爭和類似問題的首選資源。
在發生鎖定問題時,檢測問題是解決問題的第一關鍵。《MySQL並發》提供了檢測競爭等鎖定問題的技術。本書展示了如何分析導致競爭的鎖定,以了解為什麼會出現這些鎖定。六個全面的案例研究結合了鎖定和事務理論與現實中的鎖定衝突。案例研究將引導您從症狀入手,以確定您面臨的問題,衝突的原因,分析解決方案以及如何預防未來的問題。
- 了解MySQL中存在哪些鎖定類型以及它們的使用方式
- 為給定的事務選擇最佳的事務隔離級別
- 在發生鎖定競爭時檢測和分析
- 減少應用程序中的鎖定問題
- 解決事務之間的死鎖問題
- 解決InnoDB記錄級別的鎖定問題
- 解決元數據和模式鎖定引起的問題
本書適合對象
熟悉MySQL並希望更好地了解鎖定和事務以及如何使用它們的數據庫管理員和SQL開發人員。雖然需要一些MySQL的經驗,但不需要事先了解鎖定和事務的知識。
作者簡介
作者簡介(中文翻譯)
Jesper Wisborg Krogh自2006年起一直從事MySQL數據庫的工作,既是SQL開發人員,也是數據庫管理員,並且在Oracle MySQL支持團隊中擔任了八年以上的職位。他目前在Okta擔任數據庫可靠性工程師。他曾多次在MySQL Connect和Oracle OpenWorld上發表演講。除了他的書籍外,Jesper定期在MySQL主題上撰寫博客,並在Oracle知識庫中撰寫了大約800份文件。他為MySQL 5.6-8貢獻了sys模式和四個Oracle認證專業(OCP)考試。Jesper擁有計算化學博士學位,居住在澳大利亞悉尼,喜歡在戶外散步、旅行和閱讀。他的專業領域包括MySQL Cluster、MySQL Enterprise Backup(MEB)、性能調優以及性能和sys模式。