I am woking out some issues w/ one of our private cloud installations and noticed that autovacuum was not enabled on install.
Is there a reason for this setting or is it okay for us to enable it?
Solved! Go to Solution.
Vacuum helps in a number of cases out of which 2 important are:
Some other use cases are:
Details are present: http://www.postgresql.org/docs/9.3/static/routine-vacuuming.html
Apigee Scenario:
So in our case:
Traditionally the TPS or traffic rate for private customers had not been very high. So the issue of "transaction-id wrap-around" was hardly there, rather we drop the child-fact tables, before even we hit the problem. For high TPS customers, this can be a problem, and auto-vacuum must be enabled. Because the percentage of such customers are way-less, and the cost incurred at times for running auto-vacuum is sometimes high, we had traditionally switched it off by default.
So depending on the data retention period and traffic rate, it should be prudent to switch it on - if we are in doubt.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |