From f358428280953643313ee7756e0a8b8ccfde7660 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 4 Jul 2012 15:52:35 -0400 Subject: [PATCH] Increase the maximum initdb-configured value for shared_buffers to 128MB. The old value of 32MB has been around for a very long time, and in the meantime typical system memories have become vastly larger. Also, now that we no longer depend on being able to fit the entirety of our shared memory segment into the system's limit on System V shared memory, there's a much better chance of the higher limit actually proving productive. Per recent discussion on pgsql-hackers. --- src/bin/initdb/initdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index edd5d71eb8..52aedca459 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -895,7 +895,7 @@ test_config_settings(void) 100, 50, 40, 30, 20, 10 }; static const int trial_bufs[] = { - 4096, 3584, 3072, 2560, 2048, 1536, + 16384, 8192, 4096, 3584, 3072, 2560, 2048, 1536, 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100, 50 };