当前位置:网站首页>0801~面试题梳理
0801~面试题梳理
2022-08-02 12:27:00 【生活可真难啊】
存储引擎InnoDB和MyISAM的区别是什么?
InnoDB支持事务,而MyISAM不支持事务;
InnoDB可以设置外键,而MyISAM不支持外键;
InnoDB查询select count(1)需要权表扫描,而MyISAM有变量来统计数量;
InnoDB是聚簇索引,而MySAM是非聚簇索引;
truncate、delete、drop的区别是什么?
truncate是删除整个表的数据;
delete判断条件为id就直接删除id对应的数据,如果直接from表名就直接删除整张表的数据;
drop可以用来删除表(drop from 表名),也可以用来删除数据库(drop from 数据库);
执行速度 drop>truncate>delete
边栏推荐
猜你喜欢
Manual architecture, Mysql interview 126 questions
自己如何做小程序呢?
How to set up wireless PPI communication between Weiluntong touch screen and S7-200smart?
基于深度学习的裂缝检测技术
#Summer Challenge#[FFH] OpenHarmony Device Development Foundation (3) Compilation Dependencies
Do you really understand the business process service BPass?
NVIDIA NeMo Metrics 轻量性能采集系统
An example of type3 voltage loop compensator taking Boost as an example
svg气球升起爆炸js特效
干测试这些年,去过阿里也去过小公司,给年轻测试员们一个忠告...
随机推荐
The 7 most commonly used data analysis thinking, solve 95% of the analysis problems
SuperSlide系列之轮播图
商业流程服务BPass你真的了解吗?
Pytorch 占用cpu资源过多
力扣209-长度最小的字符串——滑动窗口法
企业级数据治理工作怎么开展?Datahub这样做
SQL函数 $TRANSLATE
DTG-SSOD:最新半监督检测框架,Dense Teacher(附论文下载)
SQL Server 数据库之生成与执行 SQL 脚本
np.nan, np.isnan, None, pd.isnull, pd.isna finishing and summary
Likou 58 - Left Rotation String
如何通过DBeaver 连接 TDengine?
阿苹的思考
js炫酷仪表盘插件
Chapter 11 Documents
前男友买辣椒水威胁要抢女儿,女方能否申请人身安全保护令?
Failure Analysis | A SELECT statement crashes MySQL, what happened?
力扣704-二分查找
Intelligent Image Analysis-Intelligent Home Appliance Image Target Detection Statistical Counting Detection and Recognition-iCREDIT
After Effects 教程,如何在 After Effects 中对蒙版进行动画绘制?