Re: Vacuum Problems

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

 



Rafael Domiciano wrote:
I'm not using autovacuum. Regular vacuum goes ok.
To see the last 10 lines of verbose i will need to run vacuum tonight

If a run a reindex before the vacuum full, increase the "speed" of doing vacuum? I found something about it googling.

It might help a bit, but by the end of VACUUM FULL you would need to run reindex again as VACUUM FULL tends to cause a lot of index bloat. It is normal for tables to have some slack space, so if you do a regular vacuum every day (or let autovacuum) it's normal for the table to be a bit bigger than after a VACUUM FULL, but they should ready steady state and stop growing.

You may also want to look into using CLUSTER it will rewrite the whole table and is typically much more efficient that VACUUM FULL, but it requires 2x disk space while running.

Matt


--
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