Re: Safe vm.overcommit_ratio for Large Multi-Instance PostgreSQL Fleet

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Frits Hoogland <frits.hoogland@gmail.com>
Cc: Joe Conway <mail@joeconway.com>, Priya V <mailme0216@gmail.com>, pgsql-performance@lists.postgresql.org
Date: 2025-08-12T17:49:26Z
Lists: pgsql-performance
On Wed, Aug  6, 2025 at 11:14:34PM +0200, Frits Hoogland wrote:
> > As I said, do not disable swap. You don't need a huge amount, but maybe 16 GB or so would do it.
> 
> Joe, please, can you state a technical reason for saying this?
> All you are saying is ‘don’t do this’. 
> 
> I’ve stated my reasons for why this doesn’t make sense, and you don’t give any reason.
> 
> The article you cite does seem to point to general usage, not database usage.

Here is a blog entry about it from 2012:

	https://momjian.us/main/blogs/pgblog/2012.html#July_25_2012

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.