# 第一部分：数据系统基础

本书前四章介绍了数据系统底层的基础概念，无论是在单台机器上运行的单点数据系统，还是分布在多台机器上的分布式数据系统都适用。

1. [第一章](https://github.com/Vonng/ddia/blob/master/ch1/README.md) 将介绍本书使用的术语和方法。**可靠性，可伸缩性和可维护性** ，这些词汇到底意味着什么？如何实现这些目标？
2. [第二章](https://github.com/Vonng/ddia/blob/master/ch2/README.md) 将对几种不同的 **数据模型和查询语言** 进行比较。从程序员的角度看，这是数据库之间最明显的区别。不同的数据模型适用于不同的应用场景。
3. [第三章](https://github.com/Vonng/ddia/blob/master/ch3/README.md) 将深入 **存储引擎** 内部，研究数据库如何在磁盘上摆放数据。不同的存储引擎针对不同的负载进行优化，选择合适的存储引擎对系统性能有巨大影响。
4. [第四章](https://github.com/Vonng/ddia/blob/master/ch4/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#本章小结)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vonng.gitbook.io/vonng/content/zh/part-i.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
