How to optimize storage for sparse data in data lake?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 05:08 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 06:17 AM
datalake itself not, but the file format you use to store data does.
f.e. parquet uses column compression, so sparse data will compress pretty good.
csv on the other hand: total disaster
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 12:15 AM
Unless you compress the entire CSV, which also should be a viable approach.
That said, Delta/Parquet would normally be the better option where each column in compressed.