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

Reply via email to