Re: autovacuum, exclude table

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

 



"Anibal David Acosta" <aa@xxxxxxxxxxxx> writes:
> Tables has insert (in bulk every 3 minutes) and delete one per day (delete records older than XX days)

No updates at all, just inserts and a daily delete?

If so, you're wasting your time even thinking about suppressing
autovacuum, because it won't fire on this table except after the daily
delete, which is exactly when you need it to.

Also, if you suppress autovacuum you also suppress autoanalyze,
which is something that *will* fire after large inserts, and probably
should.  At least, this usage pattern doesn't suggest to me that it's
clearly safe to run without up-to-date stats.

Right offhand, I'm not convinced either that you have a problem, or that
turning off autovacuum would fix it.

			regards, tom lane

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


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux