当前位置:网站首页>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;
边栏推荐
- UIToolkit工具模板工程
- <二> objectARX开发:创建和编辑基本图形对象
- Torth file read vulnerability (cnvd-2020-27769)
- Address resolution ARP Protocol
- 123123123
- [image hiding] digital image watermarking method technology based on hybrid dwt-hd-svd with matlab code
- Summarize and learn STM32 to create project template
- Merge_sort
- Fastdfs supports dual IP and IPv6
- Force buckle - 3. Longest substring without repeated characters
猜你喜欢

【硬十宝典】——7.1【动态RAM】DDR硬件设计要点

【无标题】转载

深度学习——CV、CNN、RNN

SQL optimization scheme

MySQL Foundation (II) -- MySQL Foundation

Can C use reflection to assign values to read-only attributes?

怎样在win10家庭版中使用Hyper-V

日志轮转logrotate

排序问题:冒泡排序,选择排序,插入排序

Download, installation and development environment construction of "harmonyos" deveco
随机推荐
[hardware ten treasures] - 7.1 [dynamic RAM] key points of DDR hardware design
【Star项目】小帽飞机大战(三)
原生高性能抓包工具Proxyman,送给爱学习的你
How strong is the working ability of a project manager with a monthly salary of 50000?
AcWing-每日一题
排序问题:冒泡排序,选择排序,插入排序
Celery takes up large memory - memory leak
"Niuke | daily question" inverse Polish expression
Uitoolkit tool template project
数据库中varchar和Nvarchar区别与联系
二叉树知识总结
数据库性能测试(mysql)
String and memory functions
『HarmonyOS』DevEco的下载安装与开发环境搭建
Leetcode question brushing 1: topic classification
在第一次使用德国小鸡要注意的地方
On stock price prediction model (3): are you falling into the trap of machine learning
快速排序(quick-sort)
How to solve the crash when the easygbs platform edits the device management group?
Rust语言- Slice(切片)类型(&[u8])