当前位置:网站首页>0801~ Interview questions
0801~ Interview questions
2022-08-02 12:31:00 【Life is so hard】
What is the difference between the storage engine InnoDB and MyISAM?
InnoDB supports transactions, while MyISAM does not;
InnoDB can set foreign keys, while MyISAM does not support foreign keys;
InnoDB query select count(1) requires table scan, and MyISAM has variables to count the number;
InnoDB is a clustered index, while MySAM is a non-clustered index;
What is the difference between truncate, delete, and drop?
truncate deletes the data of the entire table;
Delete directly deletes the data corresponding to the id if the judgment condition is id, and directly deletes the data of the entire table if it is directly from the table name;
drop can be used to delete a table (drop from table name) or a database (drop from database);
Execution speed drop>truncate>delete
边栏推荐
猜你喜欢

观察者(observer)模式(二) —— 实现线程安全的监听器

MD5 detailed explanation (check file integrity)

手撸架构,网络 面试36问

PHP+MYSQL【学生信息管理系统】(极简版)

Thymeleaf

kvm部署

Data Lake (2): What is Hudi

Likou 58 - Left Rotation String

干测试这些年,去过阿里也去过小公司,给年轻测试员们一个忠告...

Free Chinese-English Translation Software - Automatic Batch Chinese-English Translation Software Recommended Daquan
随机推荐
Intelligent Image Analysis-Intelligent Home Appliance Image Target Detection Statistical Counting Detection and Recognition-iCREDIT
Hand rolled architecture, 41 Redis interview asked
干测试这些年,去过阿里也去过小公司,给年轻测试员们一个忠告...
SQL Server2019安装步骤及脱机安装Microsoft机器学习组件下一步不能继续的问题
数据湖(三):Hudi概念术语
MD5 detailed explanation (check file integrity)
WebUI自动化测试框架搭建从0到1(完整源码)更新完毕
Drools(8): WorkBench uses
自定义mvc框架复习
php——三篇夯实根基第一篇
sql concat()函数
主流跨端技术一览
JVM学习----垃圾回收调优
手撸架构,Mysql 面试126问
pig4cloud服务架构使用
观察者(observer)模式(二) —— 实现线程安全的监听器
Thymeleaf
Likou 35 - search for insertion position - binary search
【第六届强网杯CTF-Wp】
30行代码实现无服务器实时健康码识别--操作手册