当前位置:网站首页>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;
边栏推荐
- Force buckle - 3. Longest substring without repeated characters
- What are the main reasons for server crash
- 服装行业如何实现数字化生产模式
- 【硬十宝典】——7.1【动态RAM】DDR硬件设计要点
- 20000 words will take you from 0 to 1 to build an enterprise level microservice security framework
- <二> objectARX开发:创建和编辑基本图形对象
- 少儿编程 电子学会图形化编程等级考试Scratch一级真题解析(选择题)2022年6月
- PMP customs formula, don't hurry to recite it
- 2万字带你从0到1搭建一套企业级微服务安全框架
- Problems related to the use of ucharts (components) in uniapp
猜你喜欢

『牛客|每日一题』 栈的压入、弹出序列

『牛客|每日一题』点击消除

Experimental flags: --disable_ admission_ control=false --enable_ rm=false --llama_ callback_ port=28000

在第一次使用德国小鸡要注意的地方

MySQL Foundation (II) -- MySQL Foundation

【毕业季_进击的技术er】送别过去两年迷茫的自己。重整旗鼓,大三我来啦

XSS-labs(1-10)闯关详解

Press in and pop-up sequence of "Niuke | daily question" stack

你了解MySQL都包含哪些“零件“吗?
![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
随机推荐
Can C use reflection to assign values to read-only attributes?
@Constructorproperties annotation understanding and its corresponding usage
深度学习——CV、CNN、RNN
Downloadutilse tool class without error
"Niuke | daily question" template stack
数据库性能测试(mysql)
Multi-objective collaborative decision-making in supply chain
[fault diagnosis] bearing fault diagnosis based on Bayesian optimization support vector machine with matlab code
How to solve the crash when the easygbs platform edits the device management group?
Rectification ideas for the previous article
【图像隐藏】基于混合 DWT-HD-SVD 的数字图像水印方法技术附matlab代码
Click "Niuke | daily question" to eliminate it
『HarmonyOS』DevEco的下载安装与开发环境搭建
MySQL Foundation (II) -- MySQL Foundation
Huffman coding principle
数据库中varchar和Nvarchar区别与联系
C # use log4net plug-in to output logs to files
Ruby on rails Code Execution Vulnerability (cve-2020-8163) technical analysis, research, judgment and protection
Deep learning - CV, CNN, RNN
Database performance test (MySQL)