Re: postgres in swap space - Mailing list pgsql-general

From pg254kl@georgiou.vip
Subject Re: postgres in swap space
Date
Msg-id 176341102890.7.18257482502754438507.1011873319@georgiou.vip
Whole thread Raw
In response to postgres in swap space  (Marc Millas <marc.millas@mokadb.com>)
List 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

-- 
regards,
Kiriakos Georgiou

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: postgres in swap space
Next
From: Laurenz Albe
Date:
Subject: Re: postgres in swap space