Re: Proposal: Shared Work Mem Area

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Marco Fortina <marco_fortina(at)hotmail(dot)it>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Proposal: Shared Work Mem Area
Date: 2023-04-06 12:43:52
Message-ID: ZC6+iChBZswMX+GG@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greetings,

* Marco Fortina (marco_fortina(at)hotmail(dot)it) wrote:
> I would like to propose to developers a new feature to replace the private management of the work mem with a management through shared memory: allocated at the start of PostgreSQL this area should be shared to all worker processes as for example Oracle Database PGA do.
>
> This would allow an optimal use of this memory area by limiting only its global maximum limit and not a configuration/allocation at the process level.
>
> What do you think about my proposal?

There's ongoing work to provide a way to have a global maximum limit
which doesn't involve entirely reworking how work_mem works today. The
commitfest entry for that work is here:

https://commitfest.postgresql.org/42/3867/

If you're interested in that, getting additional reviews and comments on
the work would be helpful in moving it forward.

Thanks,

Stephen

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marco Fortina 2023-04-06 13:18:17 R: Proposal: Shared Work Mem Area
Previous Message Marco Fortina 2023-04-06 10:51:07 Proposal: Shared Work Mem Area