经典案例

从一场红包雨说起

image-20220604101302483

RDBMS 事务 ACID

image-20220604101434666

红包雨 与 ACID

原子性

image-20220604101615515

一致性

image-20220604101705696

隔离性

image-20220604101853441

持久性

image-20220604101958299

红包雨 与 高并发

image-20220604102123522

红包雨 与 高可靠

image-20220604102254872

发展历史

前DBMS时代

人工管理

image-20220604102529481

文件系统

image-20220604102629994

(打开记事本记录)

DMBS时代

image-20220604102756210

网状模型

image-20220604103015828

层次模型

image-20220604103159182

关系模型

image-20220604103428112

DBMS数据模型

image-20220604103506234

SQL语言

image-20220604104124972

历史回顾

image-20220604104428469

关键技术

一条SQL的一生

image-20220604104836717

SQL引擎

Parser

image-20220604105105304

Optimizer

image-20220604105402009

image-20220604105538517

image-20220604105815022

Executor

image-20220604110219268

image-20220604110458405

image-20220604110554754

存储引擎

InnoDB

image-20220604110850659

Buffer Pool

image-20220604110926376

image-20220604111114979

Page

image-20220604111332140

B+ Tree

image-20220604111422982

B+树是真的太妙了

事务引擎

image-20220604111447278

Atomicity 与 Undo Log

image-20220604111621071

Isolation 与 锁

image-20220604111738502

Isolation 与 MVCC

image-20220604111834607

Durability 与 Redo Log

image-20220604112035159

企业实践

红包雨挑战

image-20220604112249446

大流量

Sharding

image-20220604112414932

流量突增

扩容

image-20220604112729090

代理连接池

image-20220604112836297

高可用&高可靠

image-20220604112953267

3AZ高可用

image-20220604113104168

HA管理

image-20220604113149231

课程总结

image-20220604113201034