---
title: "How Partition Access Visualizations Reduced our Data Lake S3 Cost by 33%"
description: "Yelp attributes data lake usage by aggregating S3 server access logs per table, date partition and IAM role, then plotting partition value against access time: daily batch jobs appear as a y=x diagonal, backfills as vertical lines, and ad hoc queries as scatter."
url: "https://swe.quest/articles/how-partition-access-visualizations-reduced-our-data-lake-s3-cost-by-33-b418166304951941"
canonical: "https://engineeringblog.yelp.com/2026/05/partition-access-visualizations.html"
source: "Yelp Engineering"
published: "2026-05-21"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["cost-optimization","data-pipelines","storage-systems","cloud","observability"]
---

# How Partition Access Visualizations Reduced our Data Lake S3 Cost by 33%

A post on [Yelp Engineering](https://swe.quest/sources/yelp.md), published 2026-05-21, 6 min read, Case study. Original: [https://engineeringblog.yelp.com/2026/05/partition-access-visualizations.html](https://engineeringblog.yelp.com/2026/05/partition-access-visualizations.html)

## Summary

Yelp attributes data lake usage by aggregating S3 server access logs per table, date partition and IAM role, then plotting partition value against access time: daily batch jobs appear as a y=x diagonal, backfills as vertical lines, and ad hoc queries as scatter. That visibility let teams prioritize active tables for Apache Iceberg migration and confidently adopt S3 Intelligent Tiering, deletion-based retention and a new 'Default Access Retention' policy. Under that policy, older partitions are gated behind a restrictive bucket IAM policy and require a Terraform PR with a cost estimate from S3 Inventory. Together these cut S3 storage cost by 33%. The post includes the SQL aggregation pattern for building the usage table.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)

## Prerequisites

- Amazon S3 storage classes ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))
- partitioned analytics tables ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- AWS IAM policies ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))

## Keywords

Amazon S3, S3 server access logs, S3 Intelligent Tiering, Apache Iceberg, S3 Inventory, Terraform, AWS IAM

## Related posts

- [Supercharging S3 Intelligent Tiering with Content Crush](https://swe.quest/articles/supercharging-s3-intelligent-tiering-with-content-crush-e97600972650b144.md): Scribd Tech · 2026-01-12 · Medium · 5 min read · Storage systems, Cost optimization, Cloud platforms
  Scribd's hundreds of billions of S3 objects made Intelligent Tiering's per-object monitoring fee prohibitive (about $250,000/month per 100 billion objects), so they built Content Crush to collapse the hundreds or thousands of derived files per uploaded document into a single Apache Parquet object while preserving a virtual keyspace.
- [Building a Scalable Data Lake Backup System with AWS](https://swe.quest/articles/building-a-scalable-data-lake-backup-system-with-aws-958a533ab6f4ff30.md): Scribd Tech · 2025-09-22 · Medium · 3 min read · Cloud platforms, Data pipelines, Cost optimization, Storage systems, Serverless
  Scribd backs up its petabyte-scale S3 data lake each month with an incremental pipeline that copies only new or changed parquet files and always includes Delta logs.
- [Bring high-performance analytics to your lakehouse with ClickHouse and Amazon S3 Tables](https://swe.quest/articles/bring-high-performance-analytics-to-your-lakehouse-with-clickhouse-and-amazon-e72cad2c2b1429a9.md): ClickHouse · 2026-11-11 · Medium · 11 min read · Analytics & OLAP, Cloud platforms, SQL
  ClickHouse's DataLakeCatalog engine connects to Amazon S3 Tables through the Iceberg REST endpoint, exposing a table bucket as a ClickHouse database that can be queried in place and written back to, with no data copied out.
- [Aderant modernizes analytics data pipeline with Apache Iceberg and AWS Lambda](https://swe.quest/articles/aderant-modernizes-analytics-data-pipeline-with-apache-iceberg-and-aws-lambda-5b9fc37de182f3f3.md): AWS Architecture Blog · 2026-11-19 · Medium · 9 min read · Data pipelines, Analytics & OLAP, Serverless, Multi-tenancy, Cloud platforms
  Aderant replaced a 15-minute batch pipeline for its Stridyn legal analytics tool with an event-driven medallion architecture (bronze, silver, gold) built on Apache Iceberg tables in S3.
- [Introducing Storage Buckets on the Hugging Face Hub](https://swe.quest/articles/introducing-storage-buckets-on-the-hugging-face-hub-eb116591de806053.md): Hugging Face · 2026-03-10 · Medium · 7 min read · Storage systems, ML platforms, Cloud platforms
  Storage Buckets are a new non-versioned, S3-like object storage type on the Hugging Face Hub, meant for mutable ML intermediates such as checkpoints, optimizer states, processed shards and agent traces that don't fit Git-based repos.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
