当前位置:网站首页>MySQL page lock
MySQL page lock
2022-07-25 18:02:00 【Leon_ Jinhai_ Sun】
Page lock is in Page granularity Lock on the , More data resources are locked than row locks , Because a page can have multiple row records . When I When we use page locks , There will be a waste of data , But most of this waste is data rows on a page . The cost of page locks Between table lock and row lock , A deadlock occurs . Lock granularity is between table lock and row lock , The concurrency is average .
There is a limit to the number of locks per level , Because locks take up memory space , The size of the lock space is limited . When the number of locks in a level exceeds the threshold of that level , Lock escalation will occur . Lock upgrade is to replace multiple smaller granularity locks with larger granularity locks , such as InnoDB Upgrade middle row lock to table lock , The advantage of this is that it takes less lock space , But at the same time, the concurrency of data has also decreased .
边栏推荐
- 喜讯!瑞云科技被授予“海上扬帆”5G融合应用专委会成员单位
- What scenarios have rust, which is becoming more and more mature, applied?
- Calculation date or date formatting
- C语言 cJSON库的使用
- Ch582 ble 5.0 uses Le coded broadcast and connection
- Idea integrates common functions of SVN code management
- Why the future of digitalization depends on 3D real-time rendering
- 实时云渲染有哪些优势
- 什么是 IP SSL 证书,如何申请?
- 专访即构科技李凯:音视频的有趣、行业前沿一直吸引着我
猜你喜欢

Memory and packet buffer management of LwIP

Oracle导入出错:IMP-00038: 无法转换为环境字符集句柄

tkinter GUI版通信录管理系统

为什么数字化未来取决于3D实时渲染

IDEA集成SVN代码管理常用功能

Could not stop Cortex-M device! please check the JTAG cable的解决办法

OSPF --- open shortest priority path protocol

Sorting also needs to know the information and linked list

二叉树的相关操作

Installation steps and usage of NVM under windows10 system
随机推荐
Basic operation of bidirectional linked list
UFT(QTP)-总结点与自动化测试框架
CVE-2022-33891 Apache spark shell 命令注入漏洞复现
Postman get started quickly
Drawing PDF tables (I) drawing excel table styles in PDF and downloading them through iText (supporting Chinese fonts)
Sorting also needs to know the information and linked list
OSPF --- open shortest priority path protocol
SLA 、SLO & SLI
Principle and implementation of UDP penetration NAT in P2P
大话DevOps监控,团队如何选择监控工具?
Postman快速上手
"Deprecated gradle features were used in this build, making it incompatible with gradle 6.0" problem solving
Tme2022 campus recruitment background development / operation development / business operation and maintenance / application development written examination (I) a little self analysis of programming q
Wu Enda's machine learning programming operation cannot be suspended pause problem solved
P2P 之 UDP穿透NAT的原理与实现
图的相关操作
简述Synchronized以及锁升级
CH582 BLE 5.0 使用 LE Coded 广播和连接
精彩记录
Type assertion of go interface variables