From: | Reid Thompson <reid(dot)thompson(at)crunchydata(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | reid(dot)thompson(at)crunchydata(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org, "Drouvot, Bertrand" <bertranddrouvot(dot)pg(at)gmail(dot)com>, Melanie Plageman <melanieplageman(at)gmail(dot)com> |
Subject: | Re: Add tracking of backend memory allocated to pg_stat_activity |
Date: | 2022-11-27 03:10:06 |
Message-ID: | 06b4922193b80776a31e08a3809f2414b0d4bf90.camel@crunchydata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Code rebased to current master.
Updated to incorporate additional recommendations from the the list
- add units to variables in view
- remove 'backend_' prefix from variables/functions
- update documentation
- add functional test for allocated_bytes
- refactor allocation reporting to reduce number of functions and
branches/reduce performance hit
- zero allocated bytes after fork to avoid double counting postmaster allocations
--
Reid Thompson
Senior Software Engineer
Crunchy Data, Inc.
reid(dot)thompson(at)crunchydata(dot)com
www.crunchydata.com
Attachment | Content-Type | Size |
---|---|---|
0001-Add-tracking-of-backend-memory-allocated-to-pg_stat_.patch | text/x-patch | 32.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Reid Thompson | 2022-11-27 03:13:15 | Re: Add tracking of backend memory allocated to pg_stat_activity |
Previous Message | Tom Lane | 2022-11-27 01:39:05 | Removing another gen_node_support.pl special case |