---
title: R2 Data Catalog compaction now optimizes manifest files
description: Compaction automatically rewrites and clusters Apache Iceberg manifest files to reduce metadata overhead and speed up query planning
image: https://edgetunnel-b2h.pages.dev/changelog-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://edgetunnel-b2h.pages.dev/changelog/llms.txt  
> Use this file to discover all available pages before exploring further. 

[Skip to content](#%5Ftop) 

# Changelog

New updates and improvements at Cloudflare.

[ Subscribe to RSS ](https://edgetunnel-b2h.pages.dev/changelog/rss/index.xml) [ View RSS feeds ](https://edgetunnel-b2h.pages.dev/fundamentals/new-features/available-rss-feeds/) 

![hero image](https://edgetunnel-b2h.pages.dev/_astro/hero.CVYJHPAd_26AMqX.svg) 

[ ← Back to all posts ](https://edgetunnel-b2h.pages.dev/changelog/) 

## R2 Data Catalog compaction now optimizes manifest files

Jul 13, 2026 

[ R2 Data Catalog ](https://edgetunnel-b2h.pages.dev/r2/data-catalog/)[ R2 ](https://edgetunnel-b2h.pages.dev/r2/) 

[R2 Data Catalog](https://edgetunnel-b2h.pages.dev/r2/data-catalog/), a managed [Apache Iceberg ↗](https://iceberg.apache.org/) catalog built into R2, now automatically optimizes manifest files as part of [compaction](https://edgetunnel-b2h.pages.dev/r2/data-catalog/table-maintenance/).

Manifest files track the data files that make up an Iceberg table. As a table accumulates many small or fragmented manifests, query engines must read more metadata during query planning, which slows down queries even before any data is scanned.

When compaction runs, R2 Data Catalog now rewrites and clusters manifest files by partition as a best-effort pre-step. This consolidates fragmented manifests, reduces the number of manifests a query engine must open, and lowers metadata I/O overhead. Tables that are already well-clustered are skipped, so the operation only runs when it provides a benefit.

This happens automatically for tables with compaction enabled — no configuration changes are required.

For more information, refer to [Table maintenance](https://edgetunnel-b2h.pages.dev/r2/data-catalog/table-maintenance/).

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://edgetunnel-b2h.pages.dev/changelog/post/2026-07-13-r2-data-catalog-manifest-optimization/#page","headline":"R2 Data Catalog compaction now optimizes manifest files · Changelog","description":"Compaction automatically rewrites and clusters Apache Iceberg manifest files to reduce metadata overhead and speed up query planning","url":"https://edgetunnel-b2h.pages.dev/changelog/post/2026-07-13-r2-data-catalog-manifest-optimization/","inLanguage":"en","image":"https://edgetunnel-b2h.pages.dev/changelog-preview.png","dateModified":"2026-07-13","datePublished":"2026-07-13","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://edgetunnel-b2h.pages.dev/#website","name":"Cloudflare Docs","url":"https://edgetunnel-b2h.pages.dev/"}}
```
