You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
934 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 概览
MySQL 是一个关系型数据库管理系统,由瑞典 MySQL AB 公司开发,目前属于 Oracle 公司。MySQL 是一种关联数据库管理系统,将数据保存在不同的表中,而不是将所有数据放在一个大仓库内,这样就增加了速度并提高了灵活性。
## 逻辑架构介绍
![](../images/mysql/mysql_arch.png)
从上到下,连接层,服务层,引擎层,存储层
![](../images/mysql/mysql_arch_2.png)
## Mysql安装部署
安装、部署略
**配置文件说明**
![](../images/mysql/mysql_conf.png)
## MySQL查询过程
当向MySQL发送一个请求的时候MySQL到底做了些什么呢
![](../images/mysql/mysql_query_flow.jpg)
## 存储引擎
### 查看
查看支持哪些引擎?
> show engines;
查看当前默认引擎?
> show variables like '%storage_engine%';
### MyISAM和InnoDB对比
![](../images/mysql/myisam_innodb.png)