当前位置:网站首页>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
边栏推荐
- Scrapy + Selenium 实现模拟登录,获取页面动态加载数据
- 浅聊缓存函数
- gpnmb+ gpnmb-AT2 cell idling mapping Epithelial cell idling mapping
- Redis集群概念与搭建
- Validate floating point input
- dflow入门2——Slices
- STP生成树选举结果查看及验证
- Partition table (1)
- Industry SaaS Microservice Stability Guarantee Actual Combat
- The display of the article list and the basics of creating articles and article details
猜你喜欢
随机推荐
redis实现分布式锁的原理
梯度消失和梯度爆炸
【LeetCode】zj面试-把字符串转换成整数
Network LSTM both short-term and long-term memory
dflow入门3——dpdispatcher插件
ClickHouse查询语句详解
Flink Yarn Per Job - 启动AM
兔起鹘落全端涵盖,Go lang1.18入门精炼教程,由白丁入鸿儒,全平台(Sublime 4)Go lang开发环境搭建EP00
【LeetCode】101. Symmetric Binary Tree
Machine learning (formula derivation and code implementation)--sklearn machine learning library
Go的Gin框架学习
10 minutes to get you started chrome (Google) browser plug-in development
AUC的两种计算方式
删除文件夹时,报错“错误ox80070091:目录不是空的”,该如何解决?
System io statistics
Oracle数据库表空间整理回收与释放操作
Partition table (1)
力扣递归训练
MySQL 免安装版的下载与配置教程
flush tables