当前位置:网站首页>READ-COMMITTED没有区间锁
READ-COMMITTED没有区间锁
2022-07-23 01:32:00 【scan724】
CREATE TABLE `test_mysql` (
`id` bigint(20) NOT NULL COMMENT '主键',
`events_id` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '活动ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB ;
mysql> select @@tx_isolation;
+----------------+
| @@tx_isolation |
+----------------+
| READ-COMMITTED |
+----------------+
1 row in set (0.00 sec)
mysql> show variables like '%tx_isolation%';
+---------------+----------------+
| Variable_name | Value |
+---------------+----------------+
| tx_isolation | READ-COMMITTED |
+---------------+----------------+
1 row in set (0.00 sec)
开启事务[1]:
START TRANSACTION ;
mysql> START TRANSACTION ;
Query OK, 0 rows affected (0.00 sec)
边栏推荐
猜你喜欢

复盘:什么是B+树?你知道B+树怎么构建有序表的吗?B+树有什么特点

Avantages de la salle des machines bgp

【C语言】预处理详解

【Jailhouse 文章】Virtualization over Multiprocessor System-on-Chip an Enabling Paradigm for...

SPSS Chi-Square

Solve the greatest common divisor and the least common multiple
![[C language] file operation](/img/d3/5e5ce369dd3315089b529cf69b36c0.png)
[C language] file operation

求解最大公约数和最小公倍数
How many points can you get on the latest UnionPay written test for test engineers?

Software testing interview ideas, skills and methods to share, learn is to earn
随机推荐
What is the combined effect of compose and recyclerview?
妙啊!美团 OCTO 分布式服务治理系统,这描述也太清晰了
读书笔记:程序员的自我修养---第三章
详解Vector
一文了解微服务低代码实现方式
【Jailhouse 文章】Virtualization over Multiprocessor System-on-Chip an Enabling Paradigm for...
购买股票开户安全吗,会亏钱吗?
使用HiFlow场景连接器查看每天处于地区的疫情
[cann training camp] learning notes - Comparison between diffusion and Gan, dalle2 and Party
The role of include in makefile
我是新手,听说开户有保本的理财产品,是什么?
PHP gets the certificate number. There is no serialnumberhex, but only the serialnumber processing method
从零开始的C
600 English words that programmers must master
Ascension begins with change
复盘:一副牌(54张),三人斗地主,大小王在同一家的概率是多少
Template school jumpserver security operation and maintenance audit screen
Notifyicondata tray used by BCG
PyG利用MessagePassing搭建GCN实现节点分类
一个月学透阿里整理的分布式架构笔记