Struct VacuumStatement
pub struct VacuumStatement {
pub full: bool,
pub sort_only: bool,
pub delete_only: bool,
pub reindex: bool,
pub recluster: bool,
pub table_name: Option<ObjectName>,
pub threshold: Option<Value>,
pub boost: bool,
}Expand description
Re-sorts rows and reclaims space in either a specified table or all tables in the current database
‘’’sql VACUUM [ FULL | SORT ONLY | DELETE ONLY | REINDEX | RECLUSTER ] [ [ table_name ] [ TO threshold PERCENT ] [ BOOST ] ] ‘’’ Redshift
Whether FULL was specified.
Whether SORT ONLY was specified.
Whether DELETE ONLY was specified.
Whether REINDEX was specified.
Whether RECLUSTER was specified.
Optional table to run VACUUM on.
Optional threshold value (percent) for TO threshold PERCENT.
Whether BOOST was specified.