Skip to Content
MySQL Concurrency: Locking and Transactions for MySQL Developers and DBAs
book

MySQL Concurrency: Locking and Transactions for MySQL Developers and DBAs

by Jesper Wisborg Krogh
January 2021
Intermediate to advanced
388 pages
7h 48m
English
Apress
Content preview from MySQL Concurrency: Locking and Transactions for MySQL Developers and DBAs
© Jesper Wisborg Krogh 2021
J. W. KroghMySQL Concurrencyhttps://doi.org/10.1007/978-1-4842-6652-6_13

13. Case Study: Flush Locks

Jesper Wisborg Krogh1  
(1)
Hornsby, NSW, Australia
 

Lock issues are one of the common causes of performance issues, and the impact can be severe. In the worst cases, queries can fail, and connections pile up so no new connections can be made. Therefore, it is important to know how to investigate lock issues and remediate the problems.

This and the following chapters will discuss six categories of lock issues:
  • Flush locks

  • Metadata and schema locks

  • Record-level locks including gap locks

  • Deadlocks

  • Foreign keys

  • Semaphores

Apart from the foreign keys case study, each category of locks uses different techniques to determine the cause ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Understanding MySQL Internals

Understanding MySQL Internals

Sasha Pachev
Hands-On MySQL Administration

Hands-On MySQL Administration

Arunjith Aravindan, Jeyaram Ayyalusamy
Advanced MySQL 8

Advanced MySQL 8

Eric Vanier, Birju Shah, Tejaswi Malepati
MySQL 8 Cookbook

MySQL 8 Cookbook

Karthik Appigatla

Publisher Resources

ISBN: 9781484266526Purchase LinkPublisher Website