---
title: R2 Data Catalog table-level compaction · Changelog
description: Control compaction settings for individual Iceberg tables
chatbotDeprioritize: true
source_url:
  html: https://developers.cloudflare.com/changelog/2025-10-06-data-catalog-table-compaction/
  md: https://developers.cloudflare.com/changelog/2025-10-06-data-catalog-table-compaction/index.md
---

# Changelog

New updates and improvements at Cloudflare.

[Subscribe to RSS](https://developers.cloudflare.com/changelog/rss/index.xml)\
[View all RSS feeds](https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/)

![hero image](https://developers.cloudflare.com/_astro/hero.CVYJHPAd_ZEA2nF.svg)

[← Back to all posts](https://developers.cloudflare.com/changelog/)

## R2 Data Catalog table-level compaction

Oct 06, 2025

[R2](https://developers.cloudflare.com/r2/)

You can now enable compaction for individual [Apache Iceberg](https://iceberg.apache.org/) tables in [R2 Data Catalog](https://developers.cloudflare.com/r2/data-catalog/), giving you fine-grained control over different workloads.

```bash
# Enable compaction for a specific table (no token required)
npx wrangler r2 bucket catalog compaction enable <BUCKET> <NAMESPACE> <TABLE> --target-size 256
```

This allows you to:

* Apply different target file sizes per table
* Disable compaction for specific tables
* Optimize based on table-specific access patterns

Learn more at [Manage catalogs](https://developers.cloudflare.com/r2/data-catalog/manage-catalogs/).
