当前位置:网站首页>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
边栏推荐
猜你喜欢

#夏日挑战赛#【FFH】OpenHarmony设备开发基础(三)编译依赖
![#Summer Challenge#[FFH] OpenHarmony Device Development Foundation (3) Compilation Dependencies](/img/bd/22b83e1118a4522f8cb6523fd16043.png)
#Summer Challenge#[FFH] OpenHarmony Device Development Foundation (3) Compilation Dependencies

7种最常用数据分析思维,解决95%的分析难题

Seneor曝光基础知识

Likou 977-Squaring of ordered arrays - brute force method & double pointer method

svg气球升起爆炸js特效

Thymeleaf

PHP伪协议详解

网站自动翻译-网站批量自动翻译-网站免费翻译导出

Do you really understand the business process service BPass?
随机推荐
package.json与package-lock.json
Drools(8): WorkBench uses
Create your own app applet ecosystem with applet containers
数据湖(三):Hudi概念术语
OpenFeign设置header的3种方式
Pod调度策略:亲和性、污点与污点容忍
Manual architecture, Mysql interview 126 questions
SQL中字符串拼接
np.nan, np.isnan, None, pd.isnull, pd.isna finishing and summary
1.3快速生成树协议RSTP
WPF——自定义日历
Likou 58 - Left Rotation String
svg气球升起爆炸js特效
数据湖(一):数据湖概念
以Boost为例的type3电压环补偿器实例
力扣35-搜索插入位置——二分查找
LeetCode_139_单词拆分
Solve the problem of Chinese garbled characters in exporting excel file names
openGauss数据库基本操作(超详细)
从幻核疑似裁撤看如何保证NFT的安全