返回主题:湖仓平台与开放表格式

知识卡片

普通读书笔记卡 · 2275.as.6.d.2.d

ORC条带支持谓词裁剪

理解等级:中级

ORC 把列数据组织成条带,并记录统计及索引信息。查询过滤条件可先排除不可能命中的条带或行组,再读取所需列;实际效果取决于数据分布、索引统计和执行引擎。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Practical Lakehouse Architecture》第3章《Storage: The Heart of the Lakehouse》(源文件:_epub-src/OEBPS/ch03.html) - 结论依据:原文描述 ORC 的 stripe、索引数据和 min/max;Apache ORC 规范也说明谓词下推借助文件及行索引跳过数据。 - 原始内容:Each stripe consists of index data, row data, and stripe footer. Index data holds the indexes for the stored data and stores the min and max values for row groups. Row data holds the actual data used in scanning. The stripe footer contains details related to each column, including encoding, location, min, and max values.