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

From: Jorge Rodriguez <jrodr196(at)fiu(dot)edu>
To: Bruce Momjian <bruce(at)momjian(dot)us>, Frits Hoogland <frits(dot)hoogland(at)gmail(dot)com>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Priya V <mailme0216(at)gmail(dot)com>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: Safe vm.overcommit_ratio for Large Multi-Instance PostgreSQL Fleet
Date: 2025-08-15 15:14:32
Message-ID: MW4PR05MB8748B984CEC4A9F1098C91848534A@MW4PR05MB8748.namprd05.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-performance

available

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Bruce Momjian <bruce(at)momjian(dot)us>
Sent: Tuesday, August 12, 2025 1:49:26 PM
To: Frits Hoogland <frits(dot)hoogland(at)gmail(dot)com>
Cc: Joe Conway <mail(at)joeconway(dot)com>; Priya V <mailme0216(at)gmail(dot)com>; pgsql-performance(at)lists(dot)postgresql(dot)org <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: Safe vm.overcommit_ratio for Large Multi-Instance PostgreSQL Fleet

Note: This message originated from outside the FIU Faculty/Staff email system.

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://urldefense.com/v3/__https://momjian.us/main/blogs/pgblog/2012.html*July_25_2012__;Iw!!FjuHKAHQs5udqho!KYC_U3_OpOjplPgrQZatREvJ8Ft3U7O30Lh6SH0uGMsTcYagWyupQLofwkNLDhhxgmzWzl6blB1HpFk0oj4$

--
Bruce Momjian <bruce(at)momjian(dot)us> https://urldefense.com/v3/__https://momjian.us__;!!FjuHKAHQs5udqho!KYC_U3_OpOjplPgrQZatREvJ8Ft3U7O30Lh6SH0uGMsTcYagWyupQLofwkNLDhhxgmzWzl6blB1H1-eyJ3I$
EDB https://urldefense.com/v3/__https://enterprisedb.com__;!!FjuHKAHQs5udqho!KYC_U3_OpOjplPgrQZatREvJ8Ft3U7O30Lh6SH0uGMsTcYagWyupQLofwkNLDhhxgmzWzl6blB1HJNHkhfc$

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Frédéric Yhuel 2025-08-18 16:17:50 Re: Safe vm.overcommit_ratio for Large Multi-Instance PostgreSQL Fleet
Previous Message Pavel Stehule 2025-08-13 19:24:09 Re: proposal: schema variables