Re: autovacuum questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 31, 2008 at 10:02 AM, Alvaro Herrera
<alvherre@xxxxxxxxxxxxxxxxx> wrote:
> Rafael Domiciano escribió:
>
>> The vacuum is not full, to run a full vacuum you need to set a cron job;
>> better to run at the night.
>
> Doing VACUUM FULL on crontab is rarely a good idea.  If you find
> yourself in a situation where you need VACUUM FULL, then you've not
> tuned regular vacuum appropriately.

There are some use cases where vacuum full is appropriate.  But
they're rare.  And they're usually better off being added to whatever
script is doing the thing that causes the database to need vacuum
full.  Certain batch processing or data loading processes need vacuum
full and or reindex when finishing.

But the common thought process on vacuum full for most people is "If
vacuum is good, vacuum full must be even better!" which is just wrong.

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux