From 31d895b726ddc6ee76fa2947d5befc3d078ca4b6 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 22 Jul 2024 10:07:08 +0200 Subject: [PATCH] postgres: increase work_mem --- system/nixos/postgresql.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/nixos/postgresql.nix b/system/nixos/postgresql.nix index 47dbe8f..2e8ad7d 100644 --- a/system/nixos/postgresql.nix +++ b/system/nixos/postgresql.nix @@ -17,6 +17,8 @@ wal_init_zero = "off"; wal_recycle = "off"; + work_mem = "12MB"; + track_activities = "on"; track_counts = "on"; autovacuum = "on";