Skip to content

Commit f358428

Browse files
committed
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.
1 parent 17676c7 commit f358428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ test_config_settings(void)
895895
100, 50, 40, 30, 20, 10
896896
};
897897
static const int trial_bufs[] = {
898-
4096, 3584, 3072, 2560, 2048, 1536,
898+
16384, 8192, 4096, 3584, 3072, 2560, 2048, 1536,
899899
1000, 900, 800, 700, 600, 500,
900900
400, 300, 200, 100, 50
901901
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy