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

On Mon, Nov 17, 2025 at 12:25 PM Marc Millas <[email protected]> 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)
>

Swap as in RAM swap space?  If so, then it uses as much or as little as
Linux thinks needs to be used, given the amount of RAM.

effective_cache_size, work_mem, shared_buffers,
maintenance_work_mem, max_worker_* and max_parallel_* affect how much RAM
PG uses, in conjunction with the number of active connections (including
maintenance work).

https://postgresqlco.nf/doc/en/param/ is a handy resource.

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (3+ messages)  latest in thread

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: <CANzqJaDcNFW8kSMVw3oCvzsq=GLZxpmbS2gkc1fkh1-f_QgLAA@mail.gmail.com>

* 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