Re: vacuumdb -a -f

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "D Kavan" <bitsandbytes88(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: vacuumdb -a -f
Date: 2005-08-16 01:31:01
Message-ID: 20069.1124155861@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"D Kavan" <bitsandbytes88(at)hotmail(dot)com> writes:
> Even though I run vacuumdb -a -f every night with no exceptions or problems,
> my database size remains 5.6 GB. After I do a dump/restore, the new
> database size is 4.0 GB. How could that be possible?

The extra 1.6GB probably represents the amount of junk you generate in
one day. So, forget the -f and instead do plain vacuums on a more
frequent basis. Make sure your FSM settings are large enough, too.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-08-16 01:33:10 Re: Any way to see what queries are currently running?
Previous Message Guido Barosio 2005-08-15 21:14:35 Re: Any way to see what queries are currently running?