| От | Greg Smith |
|---|---|
| Тема | Re: Memory context usage |
| Дата | |
| Msg-id | alpine.GSO.2.01.0908280413300.24929@westnet.com обсуждение |
| Ответ на | Re: Memory context usage (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Memory context usage
|
| Список | pgsql-hackers |
On Fri, 28 Aug 2009, Tom Lane wrote: > MemoryContextStats() might help. It just dumps the info to stderr > though. Which means it ends up in the database log files in the common configuration where where the database's stderr is redirected to there. I even script running this regularly against stuff I'm suspicious of, using something like this passed the PID of the process I want to watch: #!/bin/bash gdb -p $1 <<EOF p MemoryContextStats(TopMemoryContext) detach quit EOF -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера