当前位置:网站首页>Exclusive lock
Exclusive lock
2022-07-26 06:51:00 【Leon_ Jinhai_ Sun】
Exclusive lock (EXclusive Lock), also called X lock 、 An exclusive lock 、 Write lock . For row lock .
When a transaction locks the data , Other transactions cannot add any locks to the locked data , Again because InnoDB Yes select Statement is unlocked by default , So other transactions can't be written , It is still allowed to read ( Although read locks are not allowed ).
It is mainly used for writing transactions , No other transactions are allowed to modify .
Lock mode :
Automatically :DML Statement default write lock
Manual :select * from T where id=1 for update;
Release mode :
commit、rollback;
边栏推荐
- The creation of "harmonyos" project and the use of virtual machines
- 信号处理系统综合设计-求解器函数的设计(连续和离散时间系统)
- 『HarmonyOS』DevEco的下载安装与开发环境搭建
- [fault diagnosis] bearing fault diagnosis based on Bayesian optimization support vector machine with matlab code
- Why the server is stuck
- Merge_sort
- On stock price prediction model (3): are you falling into the trap of machine learning
- Command line artifact for operating database: mycli
- 「“xxxx“正在运行,可能导致系统卡顿,降低待机时间,点按关闭」处理
- 在第一次使用德国小鸡要注意的地方
猜你喜欢

『HarmonyOS』探索HarmonyOS应用

"Niuke | daily question" template stack

C# 可以利用反射给只读属性赋值吗?

CS5801_HDMI转EDP优势替代LT6711A方案

Curve curvature display

Click "Niuke | daily question" to eliminate it
![Esxi 7.0 installation supports mellanox technologies mt26448 [connectx en 10gige, PCIe 2.0 5gt/s] driver, and supports the cheapest 10GB dual fiber network card](/img/51/a5282b657b1dfed2dac476c1efee2d.png)
Esxi 7.0 installation supports mellanox technologies mt26448 [connectx en 10gige, PCIe 2.0 5gt/s] driver, and supports the cheapest 10GB dual fiber network card

SQL optimization scheme

深度学习——CV、CNN、RNN

『牛客|每日一题』 栈的压入、弹出序列
随机推荐
『牛客|每日一题』 栈的压入、弹出序列
SQL optimization scheme
Delete ^m from VIM
CONDA virtual environment envs directory is empty
Curve curvature display
『HarmonyOS』DevEco的下载安装与开发环境搭建
[Star Project] small hat aircraft War (IV)
Do you think you are a reliable test / development programmer? "Back to the pot"? Surface and reality
Introduce you to JVM from architecture
"XXXX" is running, which may cause the system to jam, reduce the standby time, and click Close "
AcWing-每日一题
软考可以查成绩了,2022年上半年软考成绩查询入口已开通
二叉树知识总结
Rectification ideas for the previous article
UIToolkit中显示汉字
7. Reverse integer integer
"Niuke | daily question" template stack
vulnhub Lampião: 1
@Constructorproperties annotation understanding and its corresponding usage
【故障诊断】基于贝叶斯优化支持向量机的轴承故障诊断附matlab代码