You can now enable automatic compaction for Apache Iceberg tables in R2 Data Catalog to improve query performance.
Compaction is the process of taking a group of small files and combining them into fewer larger files. This is an important maintenance operation as it helps ensure that query performance remains consistent by reducing the number of files that needs to be scanned.
To enable automatic compaction in R2 Data Catalog, find it under R2 Data Catalog in your R2 bucket settings in the dashboard.

Or with Wrangler, run:
npx wrangler r2 bucket catalog compaction enable <BUCKET_NAME> --target-size 128 --token <API_TOKEN>
To get started with compaction, check out manage catalogs. For best practices and limitations, refer to about compaction.
Source: Cloudflare
Latest Posts
- Microsoft Copilot Studio – Org-Wide Sharing Control for Agents Built in Copilot Studio lite [MC1176373]
- GPT-5 becomes the default Copilot model [MC1176368]
- Microsoft Copilot Studio: Copy an agent from the lite experience into the full experience [MC1176363]
- Microsoft Outlook: Enhanced search experience with Copilot in Classic Outlook [MC1176366]