Re: count on transaction ID - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: count on transaction ID
Date
Msg-id 4F5DE486020000250004615D@gw.wicourts.gov
Whole thread Raw
In response to Re: count on transaction ID  (ddgs <gsmaths@gmail.com>)
List pgsql-performance
ddgs <gsmaths@gmail.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

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Advice on Controller card for SAS disks
Next
From: Raghavendra
Date:
Subject: Re: Tuning wizard