Work

TXSQL: Lock Optimizations Towards High Contented Workloads

Year: 2025
Type: conference-paper
Abstract: Two-phase locking (2PL) is a fundamental and widely used concurrency control protocol. It regulates concurrent access to database data by following a specific sequence of acquiring and releasing locks during transaction execution, thereby ensuring transaction isolation. However, in strict 2PL, transactions must wait for conflicting transactions to commit and release their locks, which reduces concurrency and system throughput. We have observed this issue is exacerbated in high-contented workloads at Tencent, where lock contention can severely degrade system performance. While existing optimizations demonstrate some effectiveness in high-contention scenarios, their performance remains insufficient, as they suffer from lock contention and waiting in hotspot access.
Language: English
Open Access status: hybrid
OpenAlex ID: W4411374194
FWCI: 8.992
Cites: 59
Cited by: 7
Related to: 10