ddgs <gsmaths(at)gmail(dot)com> wrote:
> Is it a good starting point to the basic reason of doing vacuum?
> from the manual,
> "PostgreSQL's VACUUM command must be run on a regular basis for
> several reasons:
> To recover disk space occupied by updated or deleted rows.
> To update data statistics used by the PostgreSQL query planner.
> To protect against loss of very old data due to transaction ID
> wraparound.
> "
The entire page from which that quote is pulled makes a good
starting point. Turning off autovacuum or making it less aggressive
without really understanding everything on that page will generally
result in problems which take far longer to solve than any marginal
savings obtained by making the change.
-Kevin