当前位置:网站首页>Introduction to MySQL optimization
Introduction to MySQL optimization
2022-07-27 05:01:00 【Meme_ xp】

The first layer of optimization effect is the largest !!!!!
How to optimize :
1. The upper layer is abnormal
Upper cache of database ( such as Redis) invalid , The best optimization that causes great pressure on the database is to restore the upper cache
2. Reduce queries
Think about whether unnecessary queries fall on the database , Can we reduce
3. Query path optimization
An index is a data structure , It provides an alternative query path for the query optimizer
4. Lock and cache optimization
Avoid big business 、 Long business , Reduce lock , Increase the storage engine layer cache
5. Hardware optimization
Optimize hardware settings ( Operating system layer parameters ) Or the hardware itself . Capacity expansion resources (CPU、 Memory and IO etc. )
边栏推荐
猜你喜欢

动态内存函数的介绍(malloc free calloc realloc)

Reproduce ssa-gan using the nine day deep learning platform

集成开发环境Pycharm的安装及模板设置

Photoshop提示暂存盘已满怎么办?ps暂存盘已满如何解决?

Network protocol details: IP

Hiding skills of Photoshop clipping tool

Sunset red warm tone tinting filter LUTS preset sunset LUTS 1

Unit test Chapter6

Approval of meeting OA

Summary of fire safety training materials
随机推荐
Solution: read the files with different names in the two folders and deal with the files with different mappings
Network protocol details: IP
.htaccess学习
Why is select not recommended*
MySQL下载安装 & 完美卸载
Final Cut Pro Chinese tutorial (1) basic understanding of Final Cut Pro
事件总结-常用总结
如何将Photoshop图层复制到其他文档
"Photoshop2021 tutorial" adjust the picture to different aspect ratio
C语言 通讯录管理系统(链表,手机号码分段存储,txt文件存取,完整源码)
柔性数组以及常见问题
HCIA dynamic routing OSPF experiment
Replication of df-gan experiment -- detailed steps of replication of dfgan and forwarding from remote port to local port using mobaxtem
文件对话框
HCIA static routing comprehensive experiment
static和final关键字 学习 demo练习
How to copy Photoshop layers to other documents
缓存读写策略:CacheAside、Read/WriteThrough及WriteBack策略
【C语言】动态内存管理
如何做数据平滑迁移:双写方案