知识卡片
列存怎样重组行
一个逻辑行的字段分散在不同列段中;连接、多字段筛选和某些聚合要找回这些字段之间的对应关系。为每个值另存键容易重复存储行标识;在各列保持对应顺序时,可以用偏移隐式表示行标识。删除、过滤和跳过一批值时仍要保留可重建的逻辑位置关系。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 1. Introduction and Overview Column- Versus Row-Oriented DBMS · 查看原书依据
To reconstruct data tuples, which might be useful for joins, filtering, and multirow aggregates, we need to preserve some metadata on the column level to identify which data points from other columns it is associated with.
参考来源
- 位置:《Database Internals》Chapter 1. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch01.html#idm46104533833752,段 70)
- 结论依据:原文以显式键与隐式位置作比较,并指出重组元组对连接、筛选和聚合的用途。
- 原始内容:To reconstruct data tuples, which might be useful for joins, filtering, and multirow aggregates, we need to preserve some metadata on the column level to identify which data points from other columns it is associated with.