Wiki: Iceberg Lakehouses: Scaling Data & AI Without Breaking the Bank
For agents: Markdown version · Wiki index · Explore
- Speaker: Guy Gadon
- Event: Reversim Summit 2025
- Video: https://www.youtube.com/watch?v=psiqrVjyurM
- Transcript: /transcripts/2025/34-psiqrVjyurM.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Data Engineering, Databases, Data Science, Cloud Computing
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
This talk explores how to scale data and AI platforms cost-effectively using open table formats on object storage. The speaker explains how these modern formats eliminate data duplication and enable ACID transactions across multiple compute engines. The audience learns about key architectural challenges such as optimizing data layout, managing small files through compaction, and maintaining efficient active storage.
Key points
- 1:18 The format enables ACID transactions on object storage and prevents data corruption when multiple writers and readers access the same data.
- 4:51 Using a unified table format allows organizations to ingest data once and query it from multiple compute engines without expensive duplication.
- 8:00 Engines utilize predicate pushdown and file statistics to filter out irrelevant data before scanning disk storage.
- 9:05 Scan efficiency measures the ratio of useful data read versus total data scanned, directly impacting both query performance and cost.
- 13:17 Streaming pipelines often accumulate small files, which increases storage request overhead and degrades compression and query performance.
- 14:19 Data compaction merges small files into optimal target sizes using atomic snapshots without causing data corruption.
- 19:34 Active storage tracks the ratio of current data versus historical snapshot versions retained for features like time travel.
- 21:46 Running regular snapshot expirations and orphan file cleanups helps reclaim storage and maintain a healthy active storage ratio.
Takeaways
- Design optimal data layouts using partitioning and sorting based on actual user query patterns to maximize scan efficiency.
- Implement scheduled data compaction strategies to balance small file overhead against rewriting costs and commit conflicts.
- Monitor active storage and expire old snapshots regularly to avoid unnecessary cloud storage expenses while retaining time travel capabilities.
Questions this talk answers
- How can I prevent small file issues in streaming data pipelines?
- What is the best strategy to balance query performance and storage costs using table compaction?
- How do I determine the optimal retention period for historical snapshots in data lakehouses?
Technologies
Apache Iceberg, Spark, Amazon S3, Athena, Trino, Hive, Presto, DBT, Kinesis
Tags
big data, cost optimization, data engineering, data lakes, performance tuning, storage architecture