← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 4397

分片键决定路由成本

理解等级:中级

分片键决定记录落在哪个物理分片,也决定请求能否直接定位数据。应同时检查分布均匀性和查询方式;分布均匀但常用查询不带分片键,仍可能付出跨分片访问成本。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 从单机逐步扩展 · 查看原书依据

      Database scaling There are two broad approaches for database scaling: vertical scaling and horizontal scaling. Vertical scaling Vertical scaling, also known as scaling up, is the scaling by adding more power (CPU, RAM, DISK, etc.) to an existing machine. There are some powerful database servers. According to Amazon Relational Database Service (RDS) [12], you can get a database server with 24 TB of RAM. This

    参考来源

    - 位置:《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_012.html) - 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。 - 原始内容:Database scaling There are two broad approaches for database scaling: vertical scaling and horizontal scaling. Vertical scaling Vertical scaling, also known as scaling up, is the scaling by adding more power (CPU, RAM, DISK, etc.) to an existing machine. There are some powerful database servers. According to Amazon Relational Database Service (RDS) [12], you can get a database server with 24 TB of RAM. This