当前位置:网站首页>Mysql OCP 29题
Mysql OCP 29题
2022-08-03 09:35:00 【51CTO】
Examine the mydata table and SELECT statements:

You issue:
mysql> begin;
mysql> update mydata set a=0 where b=3;
How many rows are now protected by locks with the default InnoDB configuration?
A. one
B. one row and a next-key lock for supremum
C. one row and a gap-lock
D. five
Answer: D
b列没有索引,所以即使是Innodb,也是加表锁。
版权声明:本文为博主原创文章,未经博主允许不得转载。
MYSQL
边栏推荐
- 【LeetCode】101. Symmetric Binary Tree
- GO开发环境配置
- 响应式布局经典范例——巨幅背景大标题
- 机器学习(公式推导与代码实现)--sklearn机器学习库
- pytorch one-hot 小技巧
- LINGO 18.0软件安装包下载及安装教程
- Machine learning (formula derivation and code implementation)--sklearn machine learning library
- LINGO 18.0 software installation package download and installation tutorial
- 批量将PNG格式转化为JPG格式
- LeetCode第三题(Longest Substring Without Repeating Characters)三部曲之二:编码实现
猜你喜欢
随机推荐
Redis和Mysql数据同步的两种方案
013-Binary tree
Oracle 迁移至Mysql
Oracle 数据如何迁移到MySQL 图文详细教程
Redis的基础与django使用redis
【LeetCode】112. Path sum
批量将PNG格式转化为JPG格式
Exception: Dataset not found.解决办法
ORA-06512 数字或值错误字符串缓冲区太小
Network LSTM both short-term and long-term memory
Automated test browser driver download version
面试突击71:GET 和 POST 有什么区别?
浅析什么是伪类和伪元素?伪类和伪元素的区别解析
MySQL 中 is null 和 =null 的区别
文章列表的显示 以及创建文章 还有文章详情的基本
【LeetCode】zj面试-把字符串转换成整数
dflow入门4——recurse&reuse&conditional
机器学习(公式推导与代码实现)--sklearn机器学习库
子查询和关联查询的区别
软体按摩机器人驱动器的设计与仿真









