Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

How to adjust PostgreSQL autovacuum parameter

Here are sensible autovacuum adjustments. They won’t work for all databases of course, but will move you in the right direction.
VARIABLEPG DEFAULTSUGGESTED
autovacuum max workers35 or 6
maintenance work mem64MBsystem ram * 3/(8*autovacuum max workers)
autovacuum vacuum scale factor0.2Smaller for big tables, try 0.01
autovacuum vacuum threshold50Could be larger for small tables
autovacuum vacuum cost limit200Probably leave it alone
autovacuum vacuum cost delay20msCan turn it down if OK with more vacuum I/O load (ex.6-10 minutes is better)

Comments

Popular posts from this blog

PostgreSQL pgBadger

PostgreSQL Pgbadger Installation On Linux

How to configure Replication Manager (repmgr) ?

What's is the difference between streaming replication Vs hot standby vs warm standby ?

Script to kill ALL IDLE Connection In postgreSQL