当前位置:网站首页>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;
边栏推荐
- 哈夫曼编码原理
- 字符串和内存函数
- 服装行业如何实现数字化生产模式
- 『牛客|每日一题』 栈的压入、弹出序列
- 『牛客|每日一题』点击消除
- 从Architecture带你认识JVM
- How to realize digital production mode in garment industry
- @Constructorproperties annotation understanding and its corresponding usage
- Facing the rebound market, how do we operate? 2020-03-21
- Display Chinese characters in uitoolkit
猜你喜欢

CS5801_ HDMI to EDP advantage replaces lt6711a solution

Curve curvature display

你了解MySQL都包含哪些“零件“吗?

Summarize and learn STM32 to create project template

【无标题】转载

『期末复习』16/32位微处理器(8086)基本寄存器

"Harmonyos" explore harmonyos applications

Realize the full link grayscale based on Apache APIs IX through MSE
![[image hiding] digital image watermarking method technology based on hybrid dwt-hd-svd with matlab code](/img/2a/b5214e9fa206f1872293c9b9d7bdb6.png)
[image hiding] digital image watermarking method technology based on hybrid dwt-hd-svd with matlab code
![Rust语言- Slice(切片)类型(&[u8])](/img/d1/68c73c8b34b848212083c08df3137f.png)
Rust语言- Slice(切片)类型(&[u8])
随机推荐
【毕业季_进击的技术er】送别过去两年迷茫的自己。重整旗鼓,大三我来啦
Differences and relations between varchar and nvarchar in database
CS5801_HDMI转EDP优势替代LT6711A方案
Deep learning - CV, CNN, RNN
C # use log4net plug-in to output logs to files
Use scanner to get multiple data types from the keyboard
打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribute 或从 <serviceDebug> 配置行为)以便将异常信息发送回
『牛客|每日一题』模板栈
Heap sort
28. Implement strStr()实现 strStr()
PMP customs formula, don't hurry to recite it
原生高性能抓包工具Proxyman,送给爱学习的你
C#使用log4net插件,输出日志到文件
Realize the full link grayscale based on Apache APIs IX through MSE
[Star Project] small hat aircraft War (IV)
What are the main reasons for server crash
Merge_sort
123123123
Facing the rebound market, how do we operate? 2020-03-21
An album has been released, from introductory practical demonstration to advanced live Q & A, playing with container service so easy~