知识卡片
按访问模式选择存储
关系型存储用表与行组织数据并支持跨表关联;键值、文档、图等非关系模型各自优化不同访问方式。选型先检查数据结构、关联需求、延迟与规模,不能只因为用户增长就认定必须替换关系数据库。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 从单机逐步扩展 · 查看原书依据
Database With the growth of the user base, one server is not enough, and we need multiple servers: one for web/mobile traffic, the other for the database (Figure 1-3). Separating web/mobile traffic (web tier) and database (data tier) servers allows them to be scaled independently. Which databases to use? You can choose between a traditional relational database and a non-relational database. Let us examine their
参考来源
- 位置:《System Design Interview – An insiders guide, Second Edition》第01章《从单机逐步扩展》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0004_split_002.html)
- 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。
- 原始内容:Database With the growth of the user base, one server is not enough, and we need multiple servers: one for web/mobile traffic, the other for the database (Figure 1-3). Separating web/mobile traffic (web tier) and database (data tier) servers allows them to be scaled independently. Which databases to use? You can choose between a traditional relational database and a non-relational database. Let us examine their