当前位置:网站首页>【数据库】
【数据库】
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语句
避免子查询,用关联查询代替
边栏推荐
- Common library code snippet pytorch_ based【tips】
- 轮子六:QSerialPort 串口数据 收发
- Migration from IPv4 to IPv6
- STM32 single chip microcomputer drive L298N
- 软件测试面试笔试题及答案(软件测试题库)
- Install PCL and VTK under the background of ROS installation, and solve VTK and PCL_ ROS conflict problem
- STM32 - interrupt overview (interrupt priority)
- Stm32+ four pin OLED screen + Chinese character mold taking
- Es personal arrangement of relevant interview questions
- Differernet [anomaly detection: normalizing flow]
猜你喜欢
![Fastflow [abnormal detection: normalizing flow]](/img/5e/984e5bd34c493039e3c9909fc4df05.png)
Fastflow [abnormal detection: normalizing flow]

Yolov5 improvement 7: loss function improvement

从 IPv4 向 IPv6 的迁移

Install PCL and VTK under the background of ROS installation, and solve VTK and PCL_ ROS conflict problem

《Shortening passengers’ travel time A dynamic metro train scheduling approach using deep reinforcem》

【三维目标检测】3DSSD(一)

Anaconda environment installation skimage package

Learning experience sharing 4: learning experience of yolov7

GD32F303固件库开发(10)----双ADC轮询模式扫描多个通道

Stm32+ four pin OLED screen + Chinese character mold taking
随机推荐
Labelme labels circular objects [tips]
Summary of the problem that MathType formula does not correspond in word
STM32CUBEIDE(10)----ADC在DMA模式下扫描多个通道
[connect your mobile phone wirelessly] - debug your mobile device wirelessly via LAN
Find out the maximum value of all indicators in epoch [tips]
771. The longest consecutive character in a string
轮子七:TCP客户端
es学习目录
ES6 concept
Memseg [anomaly detection: embedded based]
OSV-q The size of tensor a (3) must match the size of tensor b (320) at non-singleton dimension 3
OSV_ q AttributeError: ‘numpy. ndarray‘ object has no attribute ‘clone‘
Improvement 14 of yolov5: replace the backbone network C3 with the lightweight network GhostNet
Introduction to structure
芯华章宣布完成超2亿A轮融资,全面布局EDA2.0研发
Command line agent: proxychains configuration
Vscode ROS configuration GDB debugging error record
递归和迭代
Anomaly detection summary: intensity_ based/Normalizing Flow
Redis related