From: Bruce Momjian <bruce@momjian.us>
To: Campbell, Lance <lance@illinois.edu>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: work_mem
Date: Wed, 31 Mar 2021 10:17:24 -0400
Message-ID: <20210331141724.GC11609@momjian.us> (raw)
In-Reply-To: <A2AA6D08-9506-4B41-9738-4D5FF8E2E011@illinois.edu>
References: <A2AA6D08-9506-4B41-9738-4D5FF8E2E011@illinois.edu>
On Wed, Mar 31, 2021 at 02:04:07PM +0000, Campbell, Lance wrote:
> PostgreSQL 12
>
>
>
> Is there a query that will tell us at any given time what amount of PostgreSQL
> memory is being used for work_mem?
Well, you can look at the process memory usage via 'ps', but I don't
know a way to see current work_mem allocation. SHOW work_mem does show
the current setting, but that isn't the allocated amount.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
If only the physical world exists, free will is an illusion.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: bruce@momjian.us, lance@illinois.edu, pgsql-admin@lists.postgresql.org
Subject: Re: work_mem
In-Reply-To: <20210331141724.GC11609@momjian.us>
* 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