当前位置:网站首页>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
边栏推荐
- 商业流程服务BPass你真的了解吗?
- Data Lake (3): Hudi Concept Terminology
- DTG-SSOD:最新半监督检测框架,Dense Teacher(附论文下载)
- OpenFeign设置header的3种方式
- How to connect TDengine through DBeaver?
- 30 lines of code to realize serverless real-time health code recognition -- operation manual
- #夏日挑战赛#【FFH】OpenHarmony设备开发基础(三)编译依赖
- 消除气泡解救蘑菇h5小游戏源码
- Likou 209 - String with the Minimum Length - Sliding Window Method
- SQL Server修改数据
猜你喜欢
MyCat2的介绍与安装以及基本使用
手撸架构,网络 面试36问
云原生(三十) | Kubernetes篇之应用商店-Helm介绍
kvm部署
DTG-SSOD: The latest semi-supervised detection framework, Dense Teacher (with paper download)
测试开发之路,我在大厂做测试这四年的感悟
【The 6th Strong Net Cup CTF-Wp】
Free Chinese-English Translation Software - Automatic Batch Chinese-English Translation Software Recommended Daquan
1.3快速生成树协议RSTP
np.nan, np.isnan, None, pd.isnull, pd.isna 整理与小结
随机推荐
自定义mvc框架复习
Transfer files between servers
unique in numpy & pandas
Process finished with exit code 1
技术分享| 融合调度系统中的电子围栏功能说明
前男友买辣椒水威胁要抢女儿,女方能否申请人身安全保护令?
Likou 58 - Left Rotation String
一款强大的js弹出alert插件
阿苹的思考
Golang map数组按字段分类
面积曲线AUC(area under curve)
OpenFeign设置header的3种方式
MD5 detailed explanation (check file integrity)
Process finished with exit code 1
AQS-AbstractQueuedSynchronizer
After Effects 教程,如何在 After Effects 中对蒙版进行动画绘制?
观察者(observer)模式(二) —— 实现线程安全的监听器
Thymeleaf
Swiper系列之轮播图
zabbix automated monitoring script