public inbox for [email protected]  
help / color / mirror / Atom feed
From: [email protected]
To: [email protected] <[email protected]>
Subject: Re: postgres in swap space
Date: Mon, 17 Nov 2025 15:23:45 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADX_1ab6U-T_SZP7L1uiOMNdBm9vV07u22i-KgQvu1E=BHguWA@mail.gmail.com>
References: <CADX_1ab6U-T_SZP7L1uiOMNdBm9vV07u22i-KgQvu1E=BHguWA@mail.gmail.com>

Putting memory pages to swap is the decision of the linux virtual memory 
manager not postgres.  If your db machine is swapping, first make sure 
you have set sensible values for the ram related settings like 
shared_buffers (25%), effective_cache_size (75%) and work_mem (keep it 
modest at 4 to 16 MB).

On 11/17/25 12:25 PM, Marc Millas - marc.millas at mokadb.com wrote:
> hello,
> Can someone point me to any doc describing why and how much space 
> postgres uses on the swap of a debian machine ?
> it's an old postgres 10, because it is used by a product for which 
> only this version is certified.
> (no comment on that, please)
>
> regards
>
> Marc MILLAS
> Senior Architect
> +33607850334
> www.mokadb.com <http://www.mokadb.com;
>
-- 
regards,
Kiriakos Georgiou


view thread (3+ messages)

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: postgres in swap space
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox