OpenAICloudflare Developer PlatformJul 13, 2026, 12:00 AM

R2 Data Catalog, R2 - R2 Data Catalog compaction now optimizes manifest files

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

R2 Data Catalog compaction now optimizes manifest files

Key Points

  • Automatic manifest optimization during compaction
  • Rewrites and clusters manifests by partition to cut metadata I/O
  • No config changes — runs for compaction-enabled tables

Summary

R2 Data Catalog (the managed Apache Iceberg catalog built into R2) now automatically optimizes manifest files as part of compaction. Manifest files record the data files that make up an Iceberg table; when many small or fragmented manifests accumulate, query engines must read more metadata during planning and queries slow down. During compaction, R2 now rewrites and clusters manifest files by partition as a best-effort pre-step, consolidating fragmented manifests and reducing metadata I/O. Tables that are already well-clustered are skipped. This behavior runs automatically for tables with compaction enabled and requires no configuration changes.

Key Points

  • Compaction now rewrites and clusters manifest files by partition to consolidate fragmented manifests.
  • Reduces number of manifests a query engine must open and lowers metadata I/O, speeding up query planning.
  • Operation is best-effort and skipped for tables that are already well-clustered.
  • Runs automatically for tables with compaction enabled; no config changes required.
  • Applies to Apache Iceberg tables managed in R2 Data Catalog; non-disruptive metadata optimization.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

R2 Data Catalog、R2 — R2 Data Catalog の compaction がマニフェストファイルを最適化するようになりました

R2 Data Catalog の compaction がマニフェストファイルを最適化するようになりました

公開日: 2026-07-13
タグ: R2 Data Catalog, R2

R2 に組み込まれたマネージドな Apache Iceberg ↗ カタログである R2 Data Catalog は、compaction の一環としてマニフェストファイルを自動的に最適化するようになりました。

変更点の概要

  • マニフェストファイルは、Iceberg テーブルを構成するデータファイルを追跡します。
  • テーブルが多数の小さく断片化したマニフェストを蓄積すると、クエリエンジンはクエリプランニング時により多くのメタデータを読み取る必要があり、データスキャンを行う前にクエリ全体が遅くなります。
  • compaction 実行時に、R2 Data Catalog はベストエフォートでマニフェストファイルをパーティションごとに再書き込み・クラスタリングします。
    • これにより断片化されたマニフェストが統合され、クエリエンジンが開くマニフェスト数が減少します。
    • メタデータ I/O オーバーヘッドが低減され、クエリ計画の高速化に寄与します。
  • 既に十分にクラスタリングされているテーブルはスキップされるため、この操作は有益な場合にのみ実行されます。
  • compaction が有効なテーブルでは自動的に適用され、設定変更は不要です。

詳細と参照

  • より詳しい運用手順やメンテナンス情報は Table maintenance を参照してください。

ご不明点があれば、ドキュメントやサポートをご利用ください。