why do we use vaccum command in PostgreSQL exactly? -


vacuum reclaims storage occupied deleted tuples. in normal postgresql operation, tuples deleted or obsoleted update not physically removed table; remain present until vacuum done. therefore it's necessary vacuum periodically, on frequently-updated tables.

this got man page. want know cases required.

if delete rows or update them, vacuum required free space re-use. postgresql automatically autovacuum, not common need manually run vacuum.

you might manually run vacuum after updating large proportion of table, if you're going big update.


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -