I changed a compaction target from 512 MB to 256 MB in Buckets by Serverless Creed, opened the before-and-after view, and clicked Cancel. The confirmation panel disappeared, but the input still read 256. If I had judged the outcome from that field, I might have reported that the change had gone through. The AWS CLI recheck recorded in my test notes still showed 512 MB with the Auto strategy.
For TC-TABLE-003, I had three things to check: the number I'd typed, the setting AWS had saved, and whether a job had run. The first two were easy to mix up because the field still showed my edit after I cancelled.
What Iceberg maintenance changes
An Iceberg table's current metadata identifies its snapshots. Each snapshot points to a manifest list, which points to manifests describing data and, where applicable, delete files. Multiple snapshots can share the same files. The query engine follows those references to determine which rows are visible. It can also use metadata to skip files that cannot satisfy the query.
Frequent small writes can leave a table with many small data files. Opening more files and processing more manifest entries adds overhead. Compaction rewrites groups of files into fewer, larger files while preserving the table's logical contents. Previous snapshots may still reference the old files, so the storage footprint may take time to fall.
Snapshot expiration changes which historical table states remain available. An expired snapshot is no longer available for ordinary time travel or rollback. Files still referenced by retained snapshots must stay available. Unreferenced-file cleanup is a separate operation, and its age threshold has to leave enough time for in-flight writes to commit. A writer can have uploaded a file that the latest committed metadata does not yet reference. Apache Iceberg maintenance · S3 Tables maintenance limits
The 512 MB → 256 MB review
In TC-TABLE-003 I opened the maintenance panel for an S3 Tables Iceberg table. Buckets showed a 512 MB compaction target, Auto strategy, and not_yet_run in the compaction status. The snapshot settings showed a minimum of one snapshot and a maximum age of 120 hours. AWS documents those as table-level settings. Unreferenced-file cleanup is configured at the table-bucket level and has its own timing, so I would review a change there for its effect on other tables in that bucket as well. S3 Tables maintenance settings
TC-TABLE-003. The starting maintenance configuration and job status.
I entered 256 MB and opened the compaction diff. The preview showed targetFileSizeMB moving from 512 to 256, with strategy set to auto on both sides. That's a bounded configuration change. The preview contained no inventory of files selected for rewrite, list of affected snapshots, or price estimate. The target is a desired size for compacted output files. Halving it says nothing by itself about how many bytes a job will process.
TC-TABLE-003. The proposed settings were visible before confirmation.
I cancelled the proposal. The draft input still showed 256 and the diff was gone. The independent AWS configuration recheck recorded in my notes showed 512 MB and Auto, with the original snapshot retention settings. That recheck was more informative than the form field.
TC-TABLE-003. After cancellation, the editable field still showed the draft value.
What I'd check before approving a run
I would start from a known table and snapshot ID. For a manual rewrite, I'd inventory the candidate partitions, data and delete files, and approximate bytes to rewrite. For snapshot expiration, I'd list the snapshot IDs eligible to expire and the IDs that must remain queryable. I would check retention against reporting, audit, and rollback needs. A one-snapshot minimum and a five-day age setting are configuration values. They don't establish that a team's full historical query window is protected.
The review should also cover the costs the operation can incur. Managed S3 Tables compaction has pricing based on objects and bytes processed. For a rewrite performed by a separate query engine, I'd budget for its compute or scanned data and applicable storage and request charges. If AWS manages scheduling and exact file selection is unavailable, I would label those counts as estimates or unavailable and record what the approval actually changes. Explicit confirmation matters especially for expiration and cleanup, because an expired historical view can lose the file references required to reconstruct it. S3 Tables maintenance overview · Amazon S3 pricing
Illustration. Intended review and execution sequence for a maintenance change.
The queries I'd run after maintenance
Before approval I'd capture the current snapshot and a small baseline of known rows and per-partition counts. After a run, I'd check persisted settings and the AWS maintenance status, then rerun those checks. Where concurrent writes are possible, I'd use recorded snapshot IDs or a quiet fixture so an unrelated insert cannot masquerade as maintenance drift. A current query establishes readability. Comparing representative values and counts makes it easier to detect a rewrite that silently changed results. Querying each required historical snapshot tests the retention promise separately.
In Athena, a supported Iceberg query can use FOR VERSION AS OF with a retained snapshot ID. If a job is denied, interrupted, or appears partially complete, I would read the job status and actual snapshot state before retrying, then replan only the work that remains. Rollback depends on a valid, retained snapshot. Already deleted files need a separate recovery path. Athena Iceberg time and version travel · S3 Tables job status
My test ended at review and cancellation. A separate Athena query from the same testing period completed, but I couldn't tie it to a completed maintenance job. I can show the proposed settings and what happened when I cancelled. To check that the data survived, I'd need a completed job and query results from the current table and each snapshot I meant to keep.





Top comments (0)