MySQL Concurrency: Locking and Transactions for MySQL Developers and DBAs

MySQL Concurrency: Locking and Transactions for MySQL Developers and DBAs
By 作者:Jesper Wisborg Krogh
Publisher Finelybook 出版社 : Apress; 1st ed. edition (January 23, 2021)
Language : English
pages 页数: 400 pages
ISBN-10 : 148426651X
ISBN-13 : 9781484266519
The Book Description robot was collected from Amazon and arranged by Finelybook
Know how locks work in MySQL and how they relate to transactions. This book explains the major role that locks play in database systems, showing how locks are essential in allowing high-concurrency workloads. You will learn about lock access levels and lock granularities from the user level as well as table locks to record and gap locks. Most importantly, the book covers troubleshooting techniques when locking becomes a pain point.
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

下载地址 Download隐藏内容需1积分,请先!没有帐号? 注 册 一个!
未经允许不得转载:finelybook » MySQL Concurrency: Locking and Transactions for MySQL Developers and DBAs
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址