---
title: "Data logs: The latest evolution in Meta’s access tools"
description: "Meta serves per-user data logs from its Hive data warehouse, which cannot handle per-user point queries, by batching many Download Your Information requests into one full-table scan."
url: "https://swe.quest/articles/data-logs-the-latest-evolution-in-meta-s-access-tools-614b48244a60ed88"
canonical: "https://engineering.fb.com/2025/02/04/security/data-logs-the-latest-evolution-in-metas-access-tools/"
source: "Meta Engineering"
published: "2025-02-04"
difficulty: "medium"
kind: "Case study"
reading_minutes: 11
tags: ["data-pipelines","privacy","analytics","system-design","resilience"]
---

# Data logs: The latest evolution in Meta’s access tools

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2025-02-04, 11 min read, Case study. Original: [https://engineering.fb.com/2025/02/04/security/data-logs-the-latest-evolution-in-metas-access-tools/](https://engineering.fb.com/2025/02/04/security/data-logs-the-latest-evolution-in-metas-access-tools/)

## Summary

Meta serves per-user data logs from its Hive data warehouse, which cannot handle per-user point queries, by batching many Download Your Information requests into one full-table scan. A scheduled job collects recent requests into a batch run on the Core Workflow Service. It writes the requester IDs to a Hive table, then runs per-table and per-partition Dataswarm jobs that INNER JOIN against each table's owner column. PySpark splits the results into per-user files, and a Hack post-processing step applies privacy filters and renders readable HTML. Lessons include checkpointing for resilience against out-of-memory and timeout failures, a user-ID verification step added after a Spark partitioning bug nearly returned data to the wrong user, and an experimentation platform for testing workflow changes.

Written by swe.quest, not by the author.

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

## Topics

- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)

## Prerequisites

- data warehouses
- Hive partitioned tables
- batch data pipelines ([easy posts on Data pipelines](https://swe.quest/tags/data-pipelines.md?difficulty=easy))

## Keywords

Hive, Download Your Information, Core Workflow Service, Dataswarm, PySpark, Hack, Meta

## Related posts

- [Policy Zones: How Meta enforces purpose limitation at scale in batch processing systems](https://swe.quest/articles/policy-zones-how-meta-enforces-purpose-limitation-at-scale-in-batch-processing-615adcc0c88f4c90.md): Meta Engineering · 2025-07-23 · Medium · 20 min read · Privacy, Data pipelines, Identity & auth, SQL
  Meta's Policy Zones, part of its Privacy Aware Infrastructure, applies information flow control to enforce purpose limitation across an exabyte-scale data warehouse.
- [Tulip: Modernizing Meta’s data platform](https://swe.quest/articles/tulip-modernizing-meta-s-data-platform-bf66bcea6e73303c.md): Meta Engineering · 2023-01-26 · Medium · 9 min read · Data pipelines, Refactoring & migrations, Schema migrations, Analytics & OLAP, Testing
  Meta migrated its exabyte-scale analytics logging platform from legacy Hive Text Delimited and JSON serialization to the Tulip format across more than 30,000 logging schemas, sharply cutting bytes logged per second while schema counts stayed flat.
- [Migrating Data Ingestion Systems at Meta Scale](https://swe.quest/articles/migrating-data-ingestion-systems-at-meta-scale-338df596ae05796f.md): Meta Engineering · 2026-05-12 · Medium · 9 min read · Data pipelines, Event-driven architecture, MySQL, Refactoring & migrations, Deployment
  Meta migrated tens of thousands of MySQL-to-warehouse change data capture (CDC) ingestion jobs, together moving several petabytes daily, from customer-owned pipelines to a self-managed warehouse service, and fully retired the legacy system.
- [How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster](https://swe.quest/articles/how-clickhouse-cloud-enabled-launchdarkly-to-build-and-ship-features-faster-0e4ac03aed14f7e6.md): ClickHouse · 2026-01-22 · Medium · 10 min read · Analytics & OLAP, Data pipelines, Observability, Multi-tenancy, Cloud platforms
  LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud.
- [Schematizing Deletion at Scale](https://swe.quest/articles/schematizing-deletion-at-scale-4a9164e6bb73ed7b.md): Shopify Engineering · 2021-06-10 · Medium · 16 min read · Privacy, Data pipelines, Queues & messaging, Analytics & OLAP
  Shopify handles PII deletion in a warehouse ingesting tens of billions of events per day by requiring privacy-annotated schemas for every analytical event (4,500+ active schemas) and pseudonymising PII before it lands.

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)
