Re: Memory Usage and OpenBSD - Mailing list pgsql-general

From Anton Maksimenkov
Subject Re: Memory Usage and OpenBSD
Date
Msg-id 8cac8dd1002100213y4668690em421047a20c3c9f76@mail.gmail.com
Whole thread Raw
In response to Re: Memory Usage and OpenBSD  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
2010/2/10 Martijn van Oosterhout <kleptog@svana.org>:
>> Can anybody briefly explain me how one postgres process allocate
>> memory for it needs?
>
> There's no real maximum, as it depends on the exact usage. However, in
> general postgres tries to keep below the values in work_mem and
> maintainence_workmem. Most of the allocations are quite small, but
> postgresql has an internal allocator which means that the system only
> sees relatively large allocations.

These "relatively large allocations" are exactly what I mean. What
size are they?
Is it right to say that these allocations are work_mem size, or
temp_buffers size, or maintainence_workmem size? Or something like.
--
antonvm

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: when a table was last vacuumed
Next
From: "Davor J."
Date:
Subject: Re: One column to multiple columns based on constraints?