sunisdown / note

note
1 stars 0 forks source link

DDIA 笔记 #6

Open sunisdown opened 3 years ago

sunisdown commented 3 years ago

DDIA(Designing Data Intensive applications) 是 2017 年 Martin Kleppman 写的书。之前看见这本书的时候惊为天人。这本书把数据库领域的知识梳理的非常通透且浅显易懂。这次重新看这本书,打算做一个笔记,记录并阐述自己的理解。

sunisdown commented 3 years ago

Reliable, Scalable, Maintainable

这一部分 感觉刚好跟之前微软的论文有点相似,参考 笔记

sunisdown commented 3 years ago

Data Models and Query Languages

这一部分主要讲了数据模型,常用的基本可以分成

sunisdown commented 3 years ago

Storage and Retrieval

on the most fundamental level, a database needs to do two things: when you give it some data, it should store the data, and when you ask it again later, it should give the data back to you.

书中把存储模型分为两大类:

sunisdown commented 3 years ago

LSM

sunisdown commented 3 years ago

B-tree

sunisdown commented 3 years ago
  • log-structured storage engines(LSM,Bitcask) 但是也有其他的观点是 Bitcask 跟 LSM 属于完全不同的存储模型。

书中把存储模型分为两大类:

这个观点其实在认为存储模型分成两种,一直是 Log+index,一种是 Page based, https://github.com/sunisdown/note/issues/3