pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ayub M <hiayub@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: work_mem and shared_buffers question
Date: Mon, 10 Feb 2020 03:03:55 -0500
Message-ID: <CAOS0qEvVgiGb45Y7AWiGZ3FAEYu8Ac1G-tMbO2b3Kduk4zaRwQ@mail.gmail.com> (raw)

   1. shared_buffers - In a regular PostgreSQL installation, say I am
   allocating 25% of my memory to shared_buffers that means it leaves 75% for
   rest such as OS, page cache and work_mems etc. Is my understanding correct?
   If so, AWS Aurora for Postgres uses 75% of memory for shared_buffers, then
   it would leave just 25% for other things?
   2. Does the memory specified for work_mem, fully gets allocated to all
   sessions irrespective of whether they do any sorting or hashing operations?


-- 
Regards,
Ayub

view thread (4+ messages)  latest in thread

Message-ID: <CAOS0qEvVgiGb45Y7AWiGZ3FAEYu8Ac1G-tMbO2b3Kduk4zaRwQ@mail.gmail.com>
Permalink:  ../CAOS0qEvVgiGb45Y7AWiGZ3FAEYu8Ac1G-tMbO2b3Kduk4zaRwQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAOS0qEvVgiGb45Y7AWiGZ3FAEYu8Ac1G-tMbO2b3Kduk4zaRwQ@mail.gmail.com

 · 

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: hiayub@gmail.com
  Subject: Re: work_mem and shared_buffers question
  In-Reply-To: <CAOS0qEvVgiGb45Y7AWiGZ3FAEYu8Ac1G-tMbO2b3Kduk4zaRwQ@mail.gmail.com>
  References: <CAOS0qEvVgiGb45Y7AWiGZ3FAEYu8Ac1G-tMbO2b3Kduk4zaRwQ@mail.gmail.com>

* 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