From 5f70853f6ac8542d9859cf94b2adcda18d439bd4 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Tue, 30 Nov 2021 10:09:02 -0800 Subject: [PATCH 1/2] Add note to postgres doc about hugepages --- docs/postgres.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/postgres.md b/docs/postgres.md index 083b0aaff01f..e4861c1f127f 100644 --- a/docs/postgres.md +++ b/docs/postgres.md @@ -118,6 +118,9 @@ performance: Note that the appropriate values for those fields depend on the amount of free memory the database host has available. +Additionally, admins of large deployments might want to consider using huge pages +to help manage memory, especially when using large values of `shared_buffers`. You +can read more about that [here](https://www.postgresql.org/docs/10/kernel-resources.html#LINUX-HUGE-PAGES). ## Porting from SQLite From 1d92630deda3966f68522aecc0aeefdf157c04d3 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Tue, 30 Nov 2021 10:10:09 -0800 Subject: [PATCH 2/2] Newsfragment --- changelog.d/11467.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/11467.misc diff --git a/changelog.d/11467.misc b/changelog.d/11467.misc new file mode 100644 index 000000000000..84e8a5ab4e00 --- /dev/null +++ b/changelog.d/11467.misc @@ -0,0 +1 @@ +Add a note about postgres memory management and hugepages to postgres doc. \ No newline at end of file