From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | "Campbell, Lance" <lance(at)illinois(dot)edu> |
Cc: | "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: work_mem |
Date: | 2021-03-31 14:17:24 |
Message-ID: | 20210331141724.GC11609@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com
If only the physical world exists, free will is an illusion.
From | Date | Subject | |
---|---|---|---|
Next Message | MichaelDBA | 2021-03-31 14:58:15 | Re: Performance bottleneck. High active sessions but postmaster kernel threads are in a sleep state, low CPU utilization |
Previous Message | Campbell, Lance | 2021-03-31 14:04:07 | work_mem |