postgresql_16:7.2.20.1 Description
PostgreSQL 16 > Reference > PostgreSQL Client Applications > vacuumdb > Description
vacuumdb is a utility for cleaning a PostgreSQL database. vacuumdb will also generate internal statistics used by the PostgreSQL query optimizer.
vacuumdb is a wrapper around the SQL command VACUUM (see postgresql_16:7.1.182). There is no effective difference between vacuuming and analyzing databases via this utility and via other methods for accessing the server.