Re: adding more information about process(es) cpu and memory usage
От | Tom Lane |
---|---|
Тема | Re: adding more information about process(es) cpu and memory usage |
Дата | |
Msg-id | 31151.1429838932@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: adding more information about process(es) cpu and memory usage (Jeff Janes <jeff.janes@gmail.com>) |
Ответы |
Re: adding more information about process(es) cpu and
memory usage
|
Список | pgsql-hackers |
Jeff Janes <jeff.janes@gmail.com> writes: > On Thu, Apr 23, 2015 at 10:17 AM, Heikki Linnakangas <hlinnaka@iki.fi> > wrote: >> In a nutshell, I don't think PostgreSQL should get involved in that... > I have often wanted an SQL function which would expose the back-end's > rusage statistics to the front-end. This could support a \timing feature > variant to psql that reports more than just wall-clock time. > I don't use RDS, and use shell access and "top" (and "strace" and "gdb") > quite enthusiastically, but still it is a pain to correlate any given > front-end to any given back-end. > Would such an addition to core be welcome? The reason nobody's gotten around to that in the last fifteen years is that per-process rusage isn't actually all that interesting; there's too much that happens in background daemons, for instance. regards, tom lane
В списке pgsql-hackers по дате отправления: