当前位置:网站首页>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
边栏推荐
- The 7 most commonly used data analysis thinking, solve 95% of the analysis problems
- Taurus.MVC V3.0.3 Microservice Open Source Framework Released: Make the evolution of .NET architecture easier in large concurrency.
- photo-sphere-viewer中文文档
- 自己如何做小程序呢?
- An example of type3 voltage loop compensator taking Boost as an example
- 【MySQL系列】- LIKE查询 以%开头一定会让索引失效吗
- 看我如何用多线程,帮助运营小姐姐解决数据校对系统变慢!
- redis cluster cluster, the ultimate solution?
- js真3d柱状图插件
- 观察者(observer)模式(二) —— 实现线程安全的监听器
猜你喜欢
随机推荐
Pytorch 占用cpu资源过多
如何搭建威纶通触摸屏与S7-200smart之间无线PPI通信?
Seneor曝光基础知识
Software component analysis: 5 major capabilities to protect software supply chain security
package.json与package-lock.json
自定义mvc框架复习
np.nan, np.isnan, None, pd.isnull, pd.isna 整理与小结
How to better assess credit risk?Just watch this scorecard model live
Create your own app applet ecosystem with applet containers
An example of type3 voltage loop compensator taking Boost as an example
测试开发之路,我在大厂做测试这四年的感悟
unique in numpy & pandas
svg实现的树木四季变化
excel 批量翻译-excel 批量函数公司翻译大全免费
服务器间传输文件
项目监控六大事项
喜迎八一 《社会企业开展应聘文职人员培训规范》团体标准出版发行会暨橄榄枝大课堂上线发布会在北京举行
【项目管理技术的优势】
Thymeleaf
pgsql数据库实现导入导出