mysql
2021-09-09 19:30:42 14 举报
AI智能生成
mysql笔记
作者其他创作
大纲/内容
索引
分类角度
数据结构
物理存储
字段特性
组成索引的字段
存储引擎
InnoDB
内存结构
Buffer Pool
Change Buffer
Adaptive HashIndex
Log Buffer
磁盘结构
tables
indexes
Tablespaces
The System Tablespace
File-Per-Table Tablespaces
General Tablespaces
Undo Tablespaces
The Temporary Tablespace
InnoDB Data Dictionary
Doublewrite Buffer
Redo Log(重做日志)
Undo Logs(回滚日志)
图例
5.6架构
5.7架构
8.0架构
MyISAM
Memory
Archive
NDB
BDB
Federated
Maria
日志分类
redoLog(重做日志)/物理日志
undoLog(回滚日志)/逻辑日志
binLog(二进制日志)
errorLog(错误日志)
slow query Log(慢查询日志)
general Log(一般查询日志)
relay Log(中继日志)
sql优化
执行顺序
from、join、on、where、group by、avg sum、having、select、distinct、order by、limit
执行计划
id
select_type
table
type
possible_keys
key
key_length
ref
rows
filtered
Extra
sql
distinct和group by
Having
索引查询
分支主题
0 条评论
下一页