Skip to content

Commit

Permalink
autovacuum / autoanalyze much more often
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Jun 1, 2021
1 parent 1d03196 commit ec61098
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions delft/haumea.nix
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@

# Enable JIT compilation if possible.
jit = "on";

# autovacuum and autoanalyze much more frequently:
# at these values vacuum should run approximately
# every 2 mass rebuilds, or a couple times a day
# on the builds table. Some of those queries really
# benefit from frequent vacuums, so this should
# help. In particular, I'm thinking the jobsets
# pages.
autovacuum_vacuum_scale_factor = 0.002;
autovacuum_analyze_scale_factor = 0.001;
};

# FIXME: don't use 'trust'.
Expand Down

0 comments on commit ec61098

Please sign in to comment.