当前位置:网站首页>【数据库】
【数据库】
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语句
避免子查询,用关联查询代替
边栏推荐
- JVM -- custom class loader
- GD32F303固件库开发(10)----双ADC轮询模式扫描多个通道
- 即将获售高通、联发科芯片,荣耀要超越华为做国内第一?
- Shell script foundation - shell operation principle + variable and array definitions
- Anomaly detection summary: intensity_ based/Normalizing Flow
- Is 1E3 a floating point number?
- How to use sprintf function
- STM32 - reset and clock control (cubemx for clock configuration)
- HP ProLiant DL380 boot from USB flash drive, press which key
- 《结构学》介绍
猜你喜欢
![CS flow [abnormal detection: normalizing flow]](/img/54/0ac2926d5be8765c22fe6f3eb97769.png)
CS flow [abnormal detection: normalizing flow]
![[connect set-top box] - use ADB command line to connect ec6108v9 Huawei Yuehe box wirelessly](/img/ab/624e9a3240416f8445c908378310ad.png)
[connect set-top box] - use ADB command line to connect ec6108v9 Huawei Yuehe box wirelessly

DIP-VBTV: Color Image Restoration Model Combining Deep Image Prior and Vector Bundle Total Variation

Stm32subeide (10) -- ADC scans multiple channels in DMA mode

STM32 - advanced control timer (time base unit, functional block diagram, input, capture, output, open circuit)

es个人整理的相关面试题

Quadruped robot | gem (elevation map) + fast_ Deployment records of Leo (odometry) environment

Reading of "robust and communication efficient federated learning from non-i.i.d. data"

简单的es高亮实战

Command line agent: proxychains configuration
随机推荐
芯华章宣布完成超2亿A轮融资,全面布局EDA2.0研发
轮子七:TCP客户端
PCA学习
Yolov5 improvement 4: add ECA channel attention mechanism
PC side web page special effects (offset series, obtain the coordinates of the mouse in the box, pop-up drag effect, magnifying glass effect)
MKD [anomaly detection: knowledge disruption]
Yolov5 improvement 7: loss function improvement
《Robust and Communication-Efficient Federated Learning From Non-i.i.d. Data》论文阅读
Anomaly detection summary: intensity_ based/Normalizing Flow
[connect your mobile phone wirelessly] - debug your mobile device wirelessly via LAN
OSV_ q AttributeError: ‘numpy. ndarray‘ object has no attribute ‘clone‘
Mspba [anomaly detection: representation_based]
STM32 - external interrupt application (exti) (use cubemx to configure interrupts)
Yolov5 improvement 6: add small target detection layer
BOM (location object, navigation object)
Yolov5 improvement 12: replace backbone network C3 with lightweight network shufflenetv2
OSV_ q The size of tensor a (704) must match the size of tensor b (320) at non-singleton dime
Improvement 16 of yolov5: replace backbone network C3 with lightweight network pp-lcnet
Evaluation index of anomaly detection: rocauc et al. [tips]
投资500亿元!中芯京城正式注册成立!