pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Marco Fortina <marco_fortina@hotmail.it>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Proposal: Shared Work Mem Area
Date: Thu, 6 Apr 2023 08:43:52 -0400
Message-ID: <ZC6+iChBZswMX+GG@tamriel.snowman.net> (raw)
In-Reply-To: <PA4PR10MB551647BE87D5565626DC2884F7919@PA4PR10MB5516.EURPRD10.PROD.OUTLOOK.COM>
References: <PA4PR10MB551647BE87D5565626DC2884F7919@PA4PR10MB5516.EURPRD10.PROD.OUTLOOK.COM>

Greetings,

* Marco Fortina (marco_fortina@hotmail.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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (3+ messages)  latest in thread

Message-ID: <ZC6+iChBZswMX+GG@tamriel.snowman.net>
Permalink:  ../ZC6+iChBZswMX+GG@tamriel.snowman.net/
Also on:    postgresql.org/message-id/ZC6+iChBZswMX+GG@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: sfrost@snowman.net, marco_fortina@hotmail.it
  Subject: Re: Proposal: Shared Work Mem Area
  In-Reply-To: <ZC6+iChBZswMX+GG@tamriel.snowman.net>
  References: <PA4PR10MB551647BE87D5565626DC2884F7919@PA4PR10MB5516.EURPRD10.PROD.OUTLOOK.COM> <ZC6+iChBZswMX+GG@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox