林晓斌 MySQL实战45讲(学习笔记)
本系列是学习极客时间林晓斌的《MySQL实战45讲》系列的学习笔记。
原文链接:https://time.geekbang.org/column/intro/139
01 基础架构:一条SQL查询语句是如何执行的?
https://blog.csdn.net/fengfeng2861285642/article/details/85131474
https://blog.csdn.net/u014737928/article/details/85060991
https://blog.csdn.net/u012131610/article/details/90051535
02 日志系统:一条SQL更新语句是如何执行的?
https://blog.csdn.net/fengfeng2861285642/article/details/85712388
https://blog.csdn.net/u014737928/article/details/85062279
https://blog.csdn.net/u012131610/article/details/90052787
03 事务隔离:为什么改了还看不见?
https://blog.csdn.net/u014737928/article/details/99731828
https://blog.csdn.net/u012131610/article/details/90168578
04 深入浅出索引(上)
https://blog.csdn.net/u012131610/article/details/90174041
05 深入浅出索引(下)
https://blog.csdn.net/u012131610/article/details/90176953
06 全局锁和表锁 :给表加个字段怎么有这么多阻碍?
https://blog.csdn.net/u012131610/article/details/90199938
07 行锁功过:怎么减少行锁对性能的影响?
https://blog.csdn.net/u012131610/article/details/90208913
08 事务到底是隔离的还是不隔离的?
https://blog.csdn.net/u012131610/article/details/90229003
09 普通索引和唯一索引,应该怎么选择?
https://blog.csdn.net/u012131610/article/details/90260558
10 MySQL为什么有时候会选错索引?
https://blog.csdn.net/u012131610/article/details/90270031
11 怎么给字符串字段加索引?
https://blog.csdn.net/u012131610/article/details/90399652
12 为什么我的MySQL会“抖”一下?
https://blog.csdn.net/u012131610/article/details/90436867
13 为什么表数据删掉一半,表文件大小不变?
https://blog.csdn.net/u012131610/article/details/90599477
14 count(*)这么慢,该怎么办?
https://blog.csdn.net/u012131610/article/details/90633442
15 答疑文章(一):日志和索引相关问题
https://blog.csdn.net/u012131610/article/details/92563908
16 “order by”是怎么工作的?
https://blog.csdn.net/u012131610/article/details/90710485
17 如何正确地显示随机消息?
https://blog.csdn.net/u012131610/article/details/90746522
18 为什么这些SQL语句逻辑相同,性能却差异巨大?
https://blog.csdn.net/u012131610/article/details/91038789
19 为什么只查一行的语句,也执行这么慢?
https://blog.csdn.net/u012131610/article/details/91411152
20 幻读是什么,幻读有什么问题?
https://blog.csdn.net/u012131610/article/details/91489023
21 为什么我只改一行的语句,锁这么多?
https://blog.csdn.net/u012131610/article/details/91781317
22 MySQL有哪些“饮鸩止渴”提高性能的方法?
https://blog.csdn.net/u012131610/article/details/92969074
23 MySQL是怎么保证数据不丢的?
https://blog.csdn.net/u012131610/article/details/99936572
24 MySQL是怎么保证主备一致的?
https://blog.csdn.net/u012131610/article/details/100007752
25 MySQL是怎么保证高可用的?
https://blog.csdn.net/u012131610/article/details/100030192
26 备库为什么会延迟好几个小时
https://blog.csdn.net/u012131610/article/details/100090270
27 主库出问题了,从库怎么办?
https://blog.csdn.net/u012131610/article/details/100112609
28 读写分离有哪些坑
https://blog.csdn.net/u012131610/article/details/100112952
29 如何判断一个数据库是不是出问题?
https://blog.csdn.net/u012131610/article/details/100113348
30 答疑文章(二):用动态的观点看加锁
https://blog.csdn.net/u012131610/article/details/100129983
31 误删数据后除了跑路,还能怎么办?
https://blog.csdn.net/u012131610/article/details/100130039
32 为什么还有kill不掉的语句?
https://blog.csdn.net/u012131610/article/details/100130460
33 查这么多数据,会不会把数据库内存撑爆?
https://blog.csdn.net/u012131610/article/details/97107364
34 到底可不可以使用join?
https://blog.csdn.net/u012131610/article/details/93158401
35 join语句怎么优化
https://blog.csdn.net/u012131610/article/details/97240601
36 为什么临时表可以重名
https://blog.csdn.net/u012131610/article/details/97757120
37 什么时候会使用内部临时表
https://blog.csdn.net/u012131610/article/details/97884757
38 都说InnoDB好,那还要不要使用Memory引擎
https://blog.csdn.net/u012131610/article/details/98028479
39 自增主键为什么不是连续的?
https://blog.csdn.net/u012131610/article/details/98168871
40 insert语句的锁为什么这么多?
https://blog.csdn.net/u012131610/article/details/98937622
41 怎么最快的复制一张表
https://blog.csdn.net/u012131610/article/details/99406030
42 grant之后要跟着flsh privileges吗?
https://blog.csdn.net/u012131610/article/details/99539832
43 要不要使用分区表
https://blog.csdn.net/u012131610/article/details/99620613
44 答疑(三)
https://blog.csdn.net/u012131610/article/details/99670766
45 自增id用完了怎么办?
https://blog.csdn.net/u012131610/article/details/99714097
《MySQL实战45讲》1~15讲
https://blog.csdn.net/zxcc1314/article/details/84842650
《MySQL实战45讲》16~30讲
https://blog.csdn.net/zxcc1314/article/details/85216128
《MySQL实战45讲》31~45讲
https://blog.csdn.net/zxcc1314/article/details/88087028