当前位置:网站首页>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
边栏推荐
猜你喜欢

Flink Yarn Per Job - Submit application

LeetCode第三题(Longest Substring Without Repeating Characters)三部曲之二:编码实现

RSTP(端口角色+端口状态+工作机制)|||| 交换机接口分析

【LeetCode】112.路径总和

【LeetCode】226.翻转二叉树

Flink Yarn Per Job - 启动AM

2022最新整理软件测试常见面试题附答案

批量将PNG格式转化为JPG格式

【LeetCode】226. Flip the binary tree

MySQL-TCL语言-transaction control language事务控制语言
随机推荐
pytorch one-hot 小技巧
MYSQL 修改时区的几种方法
基于百度AI和QT的景物识别系统
The window of the chosen data flow
2022最新整理软件测试常见面试题附答案
"Easy to use" websites that others don't know, make you more efficient
自动化测试浏览器驱动下载版本对应关系
MySQL 中 is null 和 =null 的区别
System io statistics
二叉查找树的插入
Redis实现分布式锁
Network LSTM both short-term and long-term memory
Chrome F12 keep before request information network
AUC的两种计算方式
mysql数据库配置性能调优
【快手面试】Word2vect生成的向量,为什么可以计算相似度,相似度有什么意义?
milvus
使用 Scrapy 框架对重复的 url 无法获取数据,dont_filter=True
软体按摩机器人驱动器的设计与仿真
【LeetCode】226. Flip the binary tree