> For the complete documentation index, see [llms.txt](https://vonng.gitbook.io/vonng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vonng.gitbook.io/vonng/content/zh/toc.md).

# 目录

![](https://github.com/Vonng/ddia/blob/master/img/title.png)

### [序言](https://github.com/Vonng/ddia/blob/master/preface/README.md)

### [第一部分：数据系统基础](https://github.com/Vonng/ddia/blob/master/part-i/README.md)

#### [第一章：可靠性、可伸缩性和可维护性](https://github.com/Vonng/ddia/blob/master/ch1/README.md)

* [关于数据系统的思考](https://github.com/Vonng/ddia/blob/master/ch1/README.md#关于数据系统的思考)
* [可靠性](https://github.com/Vonng/ddia/blob/master/ch1/README.md#可靠性)
* [可伸缩性](https://github.com/Vonng/ddia/blob/master/ch1/README.md#可伸缩性)
* [可维护性](https://github.com/Vonng/ddia/blob/master/ch1/README.md#可维护性)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch1/README.md#本章小结)

#### [第二章：数据模型与查询语言](https://github.com/Vonng/ddia/blob/master/ch2/README.md)

* [关系模型与文档模型](https://github.com/Vonng/ddia/blob/master/ch2/README.md#关系模型与文档模型)
* [数据查询语言](https://github.com/Vonng/ddia/blob/master/ch2/README.md#数据查询语言)
* [图数据模型](https://github.com/Vonng/ddia/blob/master/ch2/README.md#图数据模型)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch2/README.md#本章小结)

#### [第三章：存储与检索](https://github.com/Vonng/ddia/blob/master/ch3/README.md)

* [驱动数据库的数据结构](https://github.com/Vonng/ddia/blob/master/ch3/README.md#驱动数据库的数据结构)
* [事务处理还是分析？](https://github.com/Vonng/ddia/blob/master/ch3/README.md#事务处理还是分析)
* [列式存储](https://github.com/Vonng/ddia/blob/master/ch3/README.md#列式存储)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch3/README.md#本章小结)

#### [第四章：编码与演化](https://github.com/Vonng/ddia/blob/master/ch4/README.md)

* [编码数据的格式](https://github.com/Vonng/ddia/blob/master/ch4/README.md#编码数据的格式)
* [数据流的类型](https://github.com/Vonng/ddia/blob/master/ch4/README.md#数据流的类型)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch4/README.md#本章小结)

### [第二部分：分布式数据](https://github.com/Vonng/ddia/blob/master/part-ii/README.md)

#### [第五章：复制](https://github.com/Vonng/ddia/blob/master/ch5/README.md)

* [领导者与追随者](https://github.com/Vonng/ddia/blob/master/ch5/README.md#领导者与追随者)
* [复制延迟问题](https://github.com/Vonng/ddia/blob/master/ch5/README.md#复制延迟问题)
* [多主复制](https://github.com/Vonng/ddia/blob/master/ch5/README.md#多主复制)
* [无主复制](https://github.com/Vonng/ddia/blob/master/ch5/README.md#无主复制)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch5/README.md#本章小结)

#### [第六章：分区](https://github.com/Vonng/ddia/blob/master/ch6/README.md)

* [分区与复制](https://github.com/Vonng/ddia/blob/master/ch6/README.md#分区与复制)
* [键值数据的分区](https://github.com/Vonng/ddia/blob/master/ch6/README.md#键值数据的分区)
* [分区与次级索引](https://github.com/Vonng/ddia/blob/master/ch6/README.md#分区与次级索引)
* [分区再平衡](https://github.com/Vonng/ddia/blob/master/ch6/README.md#分区再平衡)
* [请求路由](https://github.com/Vonng/ddia/blob/master/ch6/README.md#请求路由)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch6/README.md#本章小结)

#### [第七章：事务](https://github.com/Vonng/ddia/blob/master/ch7/README.md)

* [事务的棘手概念](https://github.com/Vonng/ddia/blob/master/ch7/README.md#事务的棘手概念)
* [弱隔离级别](https://github.com/Vonng/ddia/blob/master/ch7/README.md#弱隔离级别)
* [可串行化](https://github.com/Vonng/ddia/blob/master/ch7/README.md#可串行化)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch7/README.md#本章小结)

#### [第八章：分布式系统的麻烦](https://github.com/Vonng/ddia/blob/master/ch8/README.md)

* [故障与部分失效](https://github.com/Vonng/ddia/blob/master/ch8/README.md#故障与部分失效)
* [不可靠的网络](https://github.com/Vonng/ddia/blob/master/ch8/README.md#不可靠的网络)
* [不可靠的时钟](https://github.com/Vonng/ddia/blob/master/ch8/README.md#不可靠的时钟)
* [知识、真相与谎言](https://github.com/Vonng/ddia/blob/master/ch8/README.md#知识真相与谎言)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch8/README.md#本章小结)

#### [第九章：一致性与共识](https://github.com/Vonng/ddia/blob/master/ch9/README.md)

* [一致性保证](https://github.com/Vonng/ddia/blob/master/ch9/README.md#一致性保证)
* [线性一致性](https://github.com/Vonng/ddia/blob/master/ch9/README.md#线性一致性)
* [顺序保证](https://github.com/Vonng/ddia/blob/master/ch9/README.md#顺序保证)
* [分布式事务与共识](https://github.com/Vonng/ddia/blob/master/ch9/README.md#分布式事务与共识)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch9/README.md#本章小结)

### [第三部分：衍生数据](https://github.com/Vonng/ddia/blob/master/part-iii/README.md)

#### [第十章：批处理](https://github.com/Vonng/ddia/blob/master/ch10/README.md)

* [使用Unix工具的批处理](https://github.com/Vonng/ddia/blob/master/ch10/README.md#使用Unix工具的批处理)
* [MapReduce和分布式文件系统](https://github.com/Vonng/ddia/blob/master/ch10/README.md#MapReduce和分布式文件系统)
* [MapReduce之后](https://github.com/Vonng/ddia/blob/master/ch10/README.md#MapReduce之后)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch10/README.md#本章小结)

#### [第十一章：流处理](https://github.com/Vonng/ddia/blob/master/ch11/README.md)

* [传递事件流](https://github.com/Vonng/ddia/blob/master/ch11/README.md#传递事件流)
* [数据库与流](https://github.com/Vonng/ddia/blob/master/ch11/README.md#数据库与流)
* [流处理](https://github.com/Vonng/ddia/blob/master/ch11/README.md#流处理)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch11/README.md#本章小结)

#### [第十二章：数据系统的未来](https://github.com/Vonng/ddia/blob/master/ch12/README.md)

* [数据集成](https://github.com/Vonng/ddia/blob/master/ch12/README.md#数据集成)
* [分拆数据库](https://github.com/Vonng/ddia/blob/master/ch12/README.md#分拆数据库)
* [将事情做正确](https://github.com/Vonng/ddia/blob/master/ch12/README.md#将事情做正确)
* [做正确的事情](https://github.com/Vonng/ddia/blob/master/ch12/README.md#做正确的事情)
* [本章小结](https://github.com/Vonng/ddia/blob/master/ch12/README.md#本章小结)

#### [术语表](https://github.com/Vonng/ddia/blob/master/glossary/README.md)

#### [后记](https://github.com/Vonng/ddia/blob/master/colophon/README.md)
