From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Different memory allocation strategy in Postgres 11?
Date: Fri, 26 Oct 2018 15:12:26 +0200
Message-ID: <pqv3nn$55o$1@blaine.gmane.org> (raw)
I have a Postgres instance running on my Windows laptop for testing purposes.
I typically configure "shared_buffers = 4096MB" on my 16GB system as sometimes when testing, it pays off to have a bigger cache.
With Postgres 10 and earlier, the Postgres process(es) would only allocate that memory from the operating system when needed.
So right after startup, it would only consume several hundred MB, not the entire 4GB
However with Postgres 11 I noticed that it immediately grabs the complete memory configured for shared_buffers during startup.
It's not really a big deal, but I wonder if that is an intentional change or a result from something else?
Regards
Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: Different memory allocation strategy in Postgres 11?
In-Reply-To: <pqv3nn$55o$1@blaine.gmane.org>
References: <pqv3nn$55o$1@blaine.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox