当前位置:网站首页>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
边栏推荐
猜你喜欢
浅析什么是伪类和伪元素?伪类和伪元素的区别解析
英文语法-状语从句
What are pseudo-classes and pseudo-elements?The difference between pseudo-classes and pseudo-elements
English Grammar - Adverbial Clauses
深度学习之 10 卷积神经网络1
go泛型使用方法
Flink Yarn Per Job - Submit application
Redis cluster concept and construction
mysql 事务原理详解
Scrapy + Selenium 实现模拟登录,获取页面动态加载数据
随机推荐
CRT命令按键
pytorch one-hot tips
批量将PNG格式转化为JPG格式
好用的插件
110道 MySQL面试题及答案 (持续更新)
System io statistics
【LeetCode】622.设计循环队列
Go的Gin框架学习
PostgreSQL的架构
WinCheck Script
MySQL8重置root账户密码图文教程
深度学习之 10 卷积神经网络1
SAP Analytics Cloud 和 SAP Cloud for Customer 两款 SaaS 软件的集成
MySQL的存储过程
AUC的两种计算方式
What are pseudo-classes and pseudo-elements?The difference between pseudo-classes and pseudo-elements
MySQL-TCL语言-transaction control language事务控制语言
【网络安全】Kail操作系统
oracle ASM磁盘空间的查看
mysql的union和union all