← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 10383.f.3.b · 生成模型:未记录

查询完整度与成功率

理解等级:中级

Harvest 衡量一项查询拿到多少目标数据,例如本应返回 100 行而只补齐 99 行。Yield 衡量多少请求成功。对允许缺项的查询返回已就绪分区,可提高成功率而降低完整度,业务也可以要求关键查询必须完整。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 11. Replication and Consistency(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch11.html#idm46104530439464,段 42) - 结论依据:原文分别以缺行和繁忙节点举例,并说明两项指标如何取舍。 - 原始内容:This shifts the focus of the trade-off from the absolute to the relative terms. We can trade harvest for yield and allow some requests to return incomplete data. One of the ways to increase yield is to return query