Re: postgres in swap space

From: pg254kl(at)georgiou(dot)vip
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: postgres in swap space
Date: 2025-11-17 20:23:45
Message-ID: 176341102890.7.18257482502754438507.1011873319@georgiou.vip
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2025-11-17 20:49:59 Re: postgres in swap space
Previous Message Ron Johnson 2025-11-17 18:16:14 Re: postgres in swap space