MySQL Concurrency

Locking and Transactions for MySQL Developers and DBAs



Bookstore > Books > MySQL Concurrency

Price$40.08 - $67.07
Rating
AuthorJesper Wisborg Krogh
PublisherApress
Published2021
Pages376
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-10148426651X
ISBN-139781484266519
EBook Hardcover Paperback

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.




Similar Books


MySQL Stored Procedure Programming

MySQL Stored Procedure Programming

by Guy Harrison, Steven Feuerstein

MySQL Stored Procedure Programming covers a lot of ground. The book starts with a thorough introduction to stored procedures programming and functions, covering the fundamentals of data types, operators, and using SQL in stored procedures. You'll learn how to build and maintain stored programs -- covering transactions, stored functions, a...

Price:  $6.38  |  Publisher:  O'Reilly Media  |  Release:  2006

Learning MySQL and MariaDB

Learning MySQL and MariaDB

by Russell J.T. Dyer

If you're a programmer new to databases - or just new to MySQL and its community-driven variant, MariaDB - you've found the perfect introduction. This hands-on guide provides an easy, step-by-step approach to installing, using, and maintaining these popular relational database engines.Author Russell Dyer, Curriculum Manager at MariaDB and...

Price:  $38.70  |  Publisher:  O'Reilly Media  |  Release:  2015

MySQL Connector/Python Revealed

MySQL Connector/Python Revealed

by Jesper Wisborg Krogh

Move data back and forth between database and application. The must-have knowledge in this book helps programmers learn how to use the official driver, MySQL Connector/Python, by which Python programs communicate with the MySQL database. This book takes you from the initial installation of the connector through basic query execution, then...

Price:  $24.27  |  Publisher:  Apress  |  Release:  2018

Mastering Concurrency in Python

Mastering Concurrency in Python

by Quan Nguyen

Python is one of the most popular programming languages, with numerous libraries and frameworks that facilitate high-performance computing. Concurrency and parallelism in Python are essential when it comes to multiprocessing and multithreading; they behave differently, but their common aim is to reduce the execution time. This book serves...

Price:  $44.99  |  Publisher:  Packt Publishing  |  Release:  2018

High Availability MySQL Cookbook

High Availability MySQL Cookbook

by Alex Davies

This book covers all the major techniques available for increasing availability of your MySQL databases. It demonstrates how to design, implement, troubleshoot and manage a highly available MySQL setup using any one of several techniques, which are shown in different recipes. It is based on MySQL Cluster 7.0, MySQL (for non clustered reci...

Price:  $26.99  |  Publisher:  Packt Publishing  |  Release:  2010

MySQL for Python

MySQL for Python

by Albert Lukaszewski

Python is a dynamic programming language, which is completely enterprise ready, owing largely to the variety of support modules that are available to extend its capabilities. In order to build productive and feature-rich Python applications, we need to use MySQL for Python, a module that provides database support to our applications. Alth...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2010

MySQL 5.1 Plugin Development

MySQL 5.1 Plugin Development

by Andrew Hutchings, Sergei Golubchik

MySQL has introduced a Plugin API with its latest version - a robust, powerful, and easy way of extending the server functionality with loadable modules on the fly. But until now anyone wishing to develop a plugin would almost certainly need to dig into the MySQL source code and search the Web for missing bits of the information.This is t...

Price:  $26.99  |  Publisher:  Packt Publishing  |  Release:  2010

MySQL Notes for Professionals

MySQL Notes for Professionals

by Stack Overflow Community

The MySQL Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....

Publisher:  Self-publishing  |  Release:  2018