Re: Get memory contexts of an arbitrary backend process
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kasahara Tatsuhito <kasahara.tatsuhito@gmail.com>
Cc: torikoshia <torikoshia@oss.nttdata.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-09-03T17:40:07Z
Lists: pgsql-hackers
Kasahara Tatsuhito <kasahara.tatsuhito@gmail.com> writes: > Yes, but it's not only for future expansion, but also for the > usability and the stability of this feature. > For example, if you want to read one dumped file multiple times and analyze it, > you will want the ability to just read the dump. If we design it to make that possible, how are we going to prevent disk space leaks from never-cleaned-up dump files? regards, tom lane
Commits
-
Add function to log the memory contexts of specified backend process.
- 43620e328617 14.0 landed
-
Add pg_backend_memory_contexts system view.
- 3e98c0bafb28 14.0 cited
-
Limit the verbosity of memory context statistics dumps.
- 7b5ef8f2d070 9.6.0 cited