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


Popular posts from this blog

How to find the server is whether standby (slave) or primary(master) in Postgresql replication ?

How to Get Table Size, Database Size, Indexes Size, schema Size, Tablespace Size, column Size in PostgreSQL Database

7 Steps to configure BDR replication in postgresql

Postgres Streaming Replication Configuration

vacuumlo - removing large objects orphans from a database PostgreSQL