当前位置:网站首页>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 .
边栏推荐
- Go defer and recover simple notes
- Basic knowledge of software testing (mind mapping)
- Mysql database common commands
- 「行话」| 用DevOps高效交付游戏,是种什么体验?
- H5 test point (mind map)
- MATLAB中join函数使用
- 为什么数字化未来取决于3D实时渲染
- mongodb 集群及分片
- 2022/7/23
- Li Kai: the interesting and cutting-edge audio and video industry has always attracted me
猜你喜欢

绘制pdf表格 (二) 通过itext实现在pdf中绘制excel表格样式设置中文字体、水印、logo、页眉、页码

SLA 、SLO & SLI
Principle and implementation of UDP penetration NAT in P2P

如何选择数字孪生可视化平台

Take you to a preliminary understanding of multiparty secure computing (MPC)

CH582 BLE 5.0 使用 LE Coded 广播和连接

Redis source code and design analysis -- 16. AOF persistence mechanism

食品安全 | 八问八答带你重新认识小龙虾!这样吃才对!

OSPF comprehensive experiment

Landmark buildings around the world
随机推荐
Cross validation (CV) learning notes
OSPF comprehensive experiment
srec_cat 常用参数的使用
Drawing PDF tables (I) drawing excel table styles in PDF and downloading them through iText (supporting Chinese fonts)
Redistemplate solves the problem of oversold inventory in the seckill system with high speed - redis transaction + optimistic lock mechanism
Briefly describe synchronized and lock upgrade
Redis source code and design analysis -- 15. RDB persistence mechanism
Oracle导入出错:IMP-00038: 无法转换为环境字符集句柄
itextpdf实现多PDF文件合并为一个PDF文档
排序还需要了解的信息以及链表
Oracle使用impdp导入报错:ORA-39001: 参数值无效 ORA-39000: 转储文件说明错误 ORA-39088: 文件名不能包含路径说明
推荐一个沁恒的蓝牙的参考博客
BiSeNet v1
Idea essential plug-ins
交友活动记录
Type assertion of go interface variables
软件测试基础知识(思维导图)
精彩记录
Update 3dcat real time cloud rendering V2.1.2 release
面试官:说说 log.Fatal 和 panic 的区别