当前位置:网站首页>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. )
边栏推荐
- How to do smooth data migration: Double write scheme
- 【报错】:Cannot read properties of undefined (reading ‘prototype‘)
- When using Photoshop, the prompt "script error -50 general Photoshop error appears“
- Plane conversion (displacement, rotation, scaling)
- Error: cannot read properties of undefined (reading 'then')
- JS day 2 (variables, variable usage, naming rules, syntax extensions)
- Customize the viewport height, and use scrolling for extra parts
- Find a specific number in an ordered array
- 关于gorm的BeforeDelete钩子方法不生效的问题
- Structural mode - adapter mode
猜你喜欢

Safety fourth after class exercise

Two way republication experiment

js小技巧

Basic configuration of static routing to achieve network wide accessibility

事件(event)

Plato farm is expected to further expand its ecosystem through elephant swap

Solution: how to use bash batch command in win10

一道数学题,让芯片巨头亏了5亿美金

Easily download data in power Bi reports with power auto

HCIA static routing comprehensive experiment
随机推荐
网络协议详解:IP
Digital integrated circuit: CMOS inverter (I) static characteristics
ps太卡怎么办?几步帮您解决问题
Open the door of programming
Final Cut Pro Chinese tutorial (1) basic understanding of Final Cut Pro
Easily download data in power Bi reports with power auto
[C language] dynamic memory management
static和final关键字 学习 demo练习
标准对话框 QMessageBox
消防安全培训资料汇总
Stm32 cubemx hal----- PWM - change frequency
2019强网杯upload
UUID and indexing rules
不需手动安装cuda和cudnn,通过一行程序即可安装tensorflow-gpu,以tensorflow-gpu2.0.0,cuda10.0,cudnn7.6.5为例
【搜索】双向广搜 + A*
Final Cut Pro Chinese tutorial (2) understanding of material window
"Photoshop2021 tutorial" align and distribute to make dot patterns
「Photoshop2021入门教程」调整图片到不同的长宽比
Two way republication experiment
Photoshop裁剪工具隐藏技巧