eyalholzmann
Databricks Partner

Which actions should be used to clean up and maintain Iceberg metadata?

  • expireSnapshots: Is it recommended to delete old snapshots using the same retention period as the Delta table?

  • deleteOrphanFiles: This deletes unreferenced Iceberg metadata as well as unreferenced data files. Is it safe to run this when some data might still be referenced by Delta metadata?

  • rewriteManifests: This action rewrites manifest files for optimization but also creates a new snapshot. Should this be executed?