当前位置:网站首页>【数据库】
【数据库】
2022-07-28 21:12:00 【赫尔特痛痛kkk】
1.数据库设计的基本原则
1、一致性原则,保证数据的一致性和有效性;2、完整性原则,是数据的正确性和相容性;3、安全性原则;4、可伸缩性与可扩展性原则;5、规范化原则。
2.MySql的逻辑架构
第一层是服务器层,用于解决连接、安全等问题
第二层实现了核心功能服务,例如存储过程、触发器、视图等
第三层是存储引擎层,用于实现数据的存取
3.MySql的锁机制
表锁,锁定整张表,只有获取写锁时才能对表进行写操作,只有没有写锁时,才能获取读锁
行锁,可以最大程度地支持并行开发,开销也较大,只存在于存储引擎层,不存在于服务层
4.MySql的隔离级别
未提交层、提交层、可重复层、可并行层
5.查询流程
6.Sql调优
group by可以禁止排序
尽量使用一次性插入多个值的insert语句
避免子查询,用关联查询代替
边栏推荐
- Memseg [anomaly detection: embedded based]
- 842. Arrange numbers
- Fastflow [abnormal detection: normalizing flow]
- Multi activity disaster recovery construction after 713 failure of station B | takintalks share
- Es learning directory
- 美国FCC提供16亿美元资助本国运营商移除华为和中兴设备
- Improvement 14 of yolov5: replace the backbone network C3 with the lightweight network GhostNet
- 软件测试工具fiddler postman jmeter charlse核心功能总结
- Wheel 7: TCP client
- fatal error: io. h: No such file or directory
猜你喜欢

STM32 - systick timer (cubemx configures systick)
![CS flow [abnormal detection: normalizing flow]](/img/54/0ac2926d5be8765c22fe6f3eb97769.png)
CS flow [abnormal detection: normalizing flow]

高等数学解题常用公式笔记总结
![Memseg [anomaly detection: embedded based]](/img/10/aea2b6ecf55e04fe24f78e5fb897be.png)
Memseg [anomaly detection: embedded based]

记录一下关于三角函数交换积分次序的一道题

Paper reading: deep forest / deep forest /gcforest

无代码开发平台管理后台入门教程
![Labelme labels circular objects [tips]](/img/da/5790d814168b23321ab00a1d17189f.png)
Labelme labels circular objects [tips]

Summary of the problem that MathType formula does not correspond in word

STM32 -- program startup process
随机推荐
B站713故障后的多活容灾建设|TakinTalks大咖分享
UNET [basic network]
JS获取当前时间(年月日时分秒)
What to do after mathematical modeling gets the competition problem and some ("crooked ways") tips - must see before the competition
DirectX修复工具下载(exagear模拟器数据包在哪里)
Morphology of image
Improvement 18 of yolov5: the loss function is improved to alpha IOU loss function
LTE小区搜索过程及SCH/BCH设计
Yolov5 improvement 7: loss function improvement
OSV-q grd_ x=grd_ x[:, :, 0:-1, :]-data_ in[:, :, 1:, :]IndexError: too many indices for tensor of d
Symbol符号类型
Leetcode exercise 3 - palindromes
STM32 -- program startup process
递归和迭代
【复制】互联网术语、简称、缩写
高等数学解题常用公式笔记总结
使用PCL批量将点云.bin文件转.pcd
Memseg [anomaly detection: embedded based]
Is 1E3 a floating point number?
即将获售高通、联发科芯片,荣耀要超越华为做国内第一?