当前位置:网站首页>Exclusive lock
Exclusive lock
2022-07-25 16:05: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;
边栏推荐
- mysql意向锁
- 推荐系统-协同过滤在Spark中的实现
- Beyond compare 4 realizes class file comparison [latest]
- Pytoch learning notes -- Summary of common functions of pytoch 1
- Record Locks(记录锁)
- MySQL-自增锁
- [JS advanced] JS regular correlation functions and regular objects_ 02
- Implementation of recommendation system collaborative filtering in spark
- Typescript learning 2 - Interface
- Copy a word style template to another document
猜你喜欢

Wavelet transform --dwt2 and wavedec2

如何构建面向海量数据、高实时要求的企业级OLAP数据引擎?

Pytoch learning notes -- Summary of common functions 3

哪个led显示屏厂家更好

基于Caffe ResNet-50网络实现图片分类(仅推理)的实验复现
![[IJCAI 2022] parameter efficient large model sparse training method, which greatly reduces the resources required for sparse training](/img/d4/bcc577f320a893c7006177993b2e7a.png)
[IJCAI 2022] parameter efficient large model sparse training method, which greatly reduces the resources required for sparse training

Ice 100g network card fragment message hash problem

Redis分布式锁,没它真不行

不愧是阿里内部“千亿级并发系统架构设计笔记”面面俱到,太全了

CircleIndicator组件,使指示器风格更加多样化
随机推荐
Okaleido launched the fusion mining mode, which is the only way for Oka to verify the current output
leetcode:154. 寻找旋转排序数组中的最小值 II【关于旋转排序数组的中后定位二分法】
Analysis and solution of data and clock mismatch delay in SPI transmission
Storage structure of cross linked list
R语言ggplot2可视化线图(line)、自定义配置标题文本相关内容颜色和图例(legend)颜色相匹配(和分组线图的颜色相匹配、match colors of groups)
MySQL教程71-WHERE 条件查询数据
Leetcode - 362 knock counter (Design)
Exploration of 6-wire SPI transmission mode
狂神redis笔记12
mysql 表写锁
Endnote cannot edit range resolution
Leetcode - 707 design linked list (Design)
【IJCAI 2022】参数高效的大模型稀疏训练方法,大幅减少稀疏训练所需资源
Redis分布式锁,没它真不行
Record Locks(记录锁)
如何构建面向海量数据、高实时要求的企业级OLAP数据引擎?
mysql 表读锁
MySQL tutorial 71-where conditional query data
【服务器数据恢复】HP EVA服务器存储意外断电导致RAID信息丢失的数据恢复案例
Simple rotation map and hamster beating