VACUUM
syntax for Iceberg engine table and Iceberg sink. This allows you to manage storage, reclaim disk space, and optimize performance for Iceberg data within RisingWave.
Syntax
VACUUM
: Manually expires old snapshots on the specified Iceberg table/sink, freeing up space used by outdated versions.VACUUM FULL
: Compacts the specified Iceberg table/sink (rewrites the table to reclaim space), then expires outdated snapshots. This operation takes longer and requires extra disk space, as a new copy is written before the old copy is released.
Parameters
Parameter | Description |
---|---|
FULL | Optional. If specified, compacts the table and expires snapshots; otherwise, only snapshots are expired. |
object_name | Can be an Iceberg engine table or an Iceberg sink. |