Skip to content

Commit 2babf07

Browse files
adding changelog for compaction in the PR due to deep linking to new doc pages in this repo
1 parent a3e6fe0 commit 2babf07

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
47.6 KB
Loading
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: R2 Data Catalog now supports compaction.
3+
description: Users can now enable compaction on R2 Data Catalog
4+
products:
5+
- r2
6+
date: 2025-09-25
7+
hidden: true
8+
---
9+
import {
10+
LinkCard,
11+
} from "~/components";
12+
13+
Today, we're adding support for managed [compaction](/r2/data-catalog/about-compaction) for [Apache Iceberg](https://iceberg.apache.org/) tables managed by [R2 Data Catalog](/r2/data-catalog/).
14+
15+
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 performance remains consistent by reducing the number of files that needs to be scanned when running queries.
16+
17+
To enable compaction in R2 Data Catalog, find it under **R2 Data Catalog** in your bucket settings in the dashboard
18+
19+
![compaction-dash](~/assets/images/changelog/r2/compaction.png)
20+
21+
or simply run:
22+
23+
```bash
24+
npx wrangler r2 bucket catalog compaction enable <BUCKET_NAME> --targetSizeMb 128 --token <API_TOKEN>
25+
```
26+
27+
And that's it. Compaction will start running automatically.
28+
29+
<LinkCard
30+
title="Learn more about R2 Data Catalog"
31+
href="/r2/data-catalog/manage-catalogs"
32+
description="Learn how to manage R2 Data Catalog and enable compaction on your bucket."
33+
/>
34+
35+
<LinkCard
36+
title="Learn more about compaction"
37+
href="/r2/data-catalog/about-compaction"
38+
description="Learn more about compaction, best practices, and limitations."
39+
/>

0 commit comments

Comments
 (0)