当前位置:网站首页>Data Lake (VIII): Iceberg data storage format
Data Lake (VIII): Iceberg data storage format
2022-07-06 20:57:00 【51CTO】
Iceberg Data storage format
One 、Iceberg The term
- data files( Data files ):
The data file is Apache Iceberg Tables are files that actually store data , It's usually in the data storage directory of the table data Under the table of contents , If our file format is parquet, So the document is based on “.parquet” ending , for example :
00000-0-root_20211212192602_8036d31b-9598-4e30-8e67-ce6c39f034da-job_1639237002345_0025-00001.parquet It's just a data file .
Iceberg Each update produces multiple data files (data files).
- Snapshot( Table snapshot ):
A snapshot represents the state of a table at a certain time . Each snapshot will list all the data in the table at a certain time data files list .data files It's stored in different manifest files Inside ,manifest files Is stored in a Manifest list In the document , And one Manifest list The file represents a snapshot .
- Manifest list( List of checklists ):
manifest list Is a metadata file , It lists the snapshot of the build table (Snapshot) List of (Manifest file). What is stored in this metadata file is Manifest file list , Every Manifest file Occupy a line . Each row stores Manifest file The path of 、 Its stored data file (data files) Partition range , Added several number files 、 Deleted several data files and other information , This information can be used to provide filtering when querying , Speed up .
- Manifest file( Inventory file ):
Manifest file It is also a metadata file , It lists the components of the snapshot (snapshot) Data files for (data files) List information for . Each line is a detailed description of each data file , Including the status of the data file 、 File path 、 Zone information 、 Statistics at the column level ( For example, the maximum and minimum of each column 、 Null number, etc )、 The size of the file and the number of data lines in the file . Column level statistics can filter out unnecessary files when scanning table data .
Manifest file In order to avro Format for storage , With “.avro” The suffix ends , for example :8138fce4-40f7-41d7-82a5-922274d2abba-m0.avro.
Two 、 Table format Table Format
Apache Iceberg As a data Lake solution , It is an open table format for large analysis data sets (Table Format), Table format can be understood as an organization of metadata and data files .Iceberg The underlying data store can be docked HDFS,S3 file system , And supports a variety of file formats , In the calculation frame (Spark、Flink) under , Data files .


Here's how Iceberg How the underlying files are organized , The picture below is Iceberg Middle table format ,s0、s1 It represents the table Snapshot Information , Each represents a snapshot of the current operation , Every time commit Will generate a snapshot Snapshot, Every Snapshot The snapshot corresponds to a manifest list Metadata file , Every manifest list Contains multiple Manifest Metadata file ,manifest The file address corresponding to the data generated by the current operation is recorded in , That is to say data file The address of .
be based on snapshot Management style ,Iceberg Can get the historical version data of the table 、 Incremental read operation on table ,data files Storage supports different file formats , At present, we support parquet、ORC、Avro Format .


About Iceberg Table data underlying organization details , You can pay attention to the following articles , I will explain it in detail .
边栏推荐
- 全网最全的知识库管理工具综合评测和推荐:FlowUs、Baklib、简道云、ONES Wiki 、PingCode、Seed、MeBox、亿方云、智米云、搜阅云、天翎
- 新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
- 2110 summary of knowledge points and common problems in redis class
- Redis insert data garbled solution
- 2022 Guangdong Provincial Safety Officer C certificate third batch (full-time safety production management personnel) simulation examination and Guangdong Provincial Safety Officer C certificate third
- Value of APS application in food industry
- 【DSP】【第二篇】了解C6678和创建工程
- 硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
- “罚点球”小游戏
- @PathVariable
猜你喜欢

What is the problem with the SQL group by statement

硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
![[DIY]如何制作一款個性的收音機](/img/fc/a371322258131d1dc617ce18490baf.jpg)
[DIY]如何制作一款個性的收音機

知识图谱构建流程步骤详解

2022 Guangdong Provincial Safety Officer C certificate third batch (full-time safety production management personnel) simulation examination and Guangdong Provincial Safety Officer C certificate third

OAI 5g nr+usrp b210 installation and construction

知识图谱之实体对齐二

What programming do children learn?

How to upgrade high value-added links in the textile and clothing industry? APS to help

强化学习-学习笔记5 | AlphaGo
随机推荐
[DSP] [Part 2] understand c6678 and create project
Regular expression collection
Spark SQL chasing Wife Series (initial understanding)
c#使用oracle存储过程获取结果集实例
SSO single sign on
What is the problem with the SQL group by statement
What are RDB and AOF
Math symbols in lists
The mail command is used in combination with the pipeline command statement
Core principles of video games
【每周一坑】正整数分解质因数 +【解答】计算100以内质数之和
全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
Pat 1085 perfect sequence (25 points) perfect sequence
[asp.net core] set the format of Web API response data -- formatfilter feature
OLED屏幕的使用
OAI 5G NR+USRP B210安装搭建
What key progress has been made in deep learning in 2021?
OAI 5g nr+usrp b210 installation and construction
Infrared thermometer based on STM32 single chip microcomputer (with face detection)
使用.Net驱动Jetson Nano的OLED显示屏