From: Robert Haas Date: Wed, 4 Jul 2012 19:52:35 +0000 (-0400) Subject: Increase the maximum initdb-configured value for shared_buffers to 128MB. X-Git-Tag: REL9_3_BETA1~1245 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=f358428280953643313ee7756e0a8b8ccfde7660;p=postgresql.git 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. --- diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index edd5d71eb82..52aedca459c 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 };