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
- Dynamics 365, Power Platform, and Role-based Copilot offerings 2026 release wave 1 plans available now [MC1255714]
![Dynamics 365, Power Platform, and Role-based Copilot offerings 2026 release wave 1 plans available now [MC1255714] 2 pexels divinetechygirl 1181712](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Dynamics 365 Customer Service – Define critical questions in evaluation criteria [MC1255709]
![Dynamics 365 Customer Service – Define critical questions in evaluation criteria [MC1255709] 3 pexels sarah trummer 155385 955787](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Copilot Studio – Read only Analytics Viewer role [MC1255508]
![Microsoft Copilot Studio - Read only Analytics Viewer role [MC1255508] 4 pexels minan1398 1527255](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon SageMaker Unified Studio adds custom metadata filters


![Dynamics 365, Power Platform, and Role-based Copilot offerings 2026 release wave 1 plans available now [MC1255714] 2 pexels divinetechygirl 1181712](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-divinetechygirl-1181712-150x150.webp)
![Dynamics 365 Customer Service – Define critical questions in evaluation criteria [MC1255709] 3 pexels sarah trummer 155385 955787](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-sarah-trummer-155385-955787-150x150.webp)
![Microsoft Copilot Studio - Read only Analytics Viewer role [MC1255508] 4 pexels minan1398 1527255](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-minan1398-1527255-150x150.webp)

