Type: | bool |
Default: | on |
Context: | user |
Restart: | false |
Since: | 18 |
Enables or disables vacuum to try to truncate off any empty pages at the end of the table. The default value is true
. If true
, VACUUM and autovacuum do the truncation and the disk space for the truncated pages is returned to the operating system. Note that the truncation requires an ACCESS EXCLUSIVE
lock on the table. The TRUNCATE
parameter of VACUUM, if specified, overrides the value of this parameter. The setting can also be overridden for individual tables by changing table storage parameters.