知识卡片
Hive元数据与数据分置
传统 Hive 表把模式和分区信息放在 Metastore,数据文件留在 HDFS 或对象存储,并常按分区目录组织。元数据层让计算引擎理解底层文件,但目录枚举和事务能力取决于具体表管理实现。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Practical Lakehouse Architecture》第3章《Storage: The Heart of the Lakehouse》(源文件:_epub-src/OEBPS/ch03.html)
- 结论依据:原文解释 HMS 保存模式及分区、表数据留在数据湖,分区产生目录结构。
- 原始内容:When you create a table in Hive, it stores the data in HDFS and the schema in the HMS. The Hive table directory has all files under its root table folder. If you partition this table, it creates additional partitional-level directories and places the relevant data files under these directories. The data always resides in