Home > Database > Mysql Tutorial > MySQL优化-学习笔记(一)

MySQL优化-学习笔记(一)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:27:18
Original
917 people have browsed it

MySQL优化-学习笔记(1) 1.数据库设计是否合理 三范式(3NF):原子性,完全依赖,禁止传递依赖 2.建立适当的索引 普通索引,唯一索引,主键索引,全文索引 3.分表技术 水平分割,垂直分割 4.读写分离【写操作:update,delete,insert】 5.存储过程【模块化

MySQL优化-学习笔记(1)
1.数据库设计是否合理
   三范式(3NF):原子性,完全依赖,禁止传递依赖
2.建立适当的索引
   普通索引,唯一索引,主键索引,全文索引
3.分表技术
  水平分割,垂直分割
4.读写分离【写操作:update,delete,insert】
5.存储过程【模块化编程,可提高执行效率,但可移植性不强】
6.mysql配置优化:
   最大并发数,缓存大小优化
7.mysql硬件升级
8.定时清除不需要的数据,及碎片整理
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template