From 2dae0612dd429ea293fa273350c725e702528f6d Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Sun, 16 Feb 2025 02:01:19 +0200 Subject: [PATCH] fast_import: Fix shared_buffers setting (#10837) In commit 9537829ccd I made shared_buffers be derived from the system's available RAM. However, I failed to remove the old hard-coded shared_buffers=10GB settings, shared_buffers was set twice. Oopsie. --- compute_tools/src/bin/fast_import.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compute_tools/src/bin/fast_import.rs b/compute_tools/src/bin/fast_import.rs index dad15d67b7..4c8d031532 100644 --- a/compute_tools/src/bin/fast_import.rs +++ b/compute_tools/src/bin/fast_import.rs @@ -211,7 +211,6 @@ impl PostgresProcess { .args(["-p", &format!("{port}")]) .args(["-c", "wal_level=minimal"]) .args(["-c", &format!("shared_buffers={shared_buffers_mb}MB")]) - .args(["-c", "shared_buffers=10GB"]) .args(["-c", "max_wal_senders=0"]) .args(["-c", "fsync=off"]) .args(["-c", "full_page_writes=off"])