Got error when running VACUUM to removed expired files for iceberg in Athena


Error message: ICEBERG_VACUUM_MORE_RUNS_NEEDED: Removed 1000 files in this round of vacuum, but there are more files remaining. Please run another VACUUM command to process the remaining files

How can I run VACUUM to delete more files, or event all expired files?

asked 4 months ago183 views
2 Answers

It would be amazing to get an answer from AWS about this topic.

answered 2 months ago

You can either run a step function in loops in order to VACUUM again and again ( or you can run a Spark job that expires snapshots and remove orphan files:

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions