| От | Tom Lane |
|---|---|
| Тема | Re: poor performance on 7.1 vs 7.0 |
| Дата | |
| Msg-id | 8690.989358810@sss.pgh.pa.us обсуждение |
| Ответ на | Re: poor performance on 7.1 vs 7.0 (Kyle <kaf@nwlink.com>) |
| Список | pgsql-general |
Kyle <kaf@nwlink.com> writes:
> When I profile the postmaster do the forked backends also show up in
> the profile? Or do I need to profile those separately? (and how?)
As each process (postmaster or backend) terminates, it drops a gmon.out
file in the directory it was working in. As long as you are profiling
a backend that's alone in the database it's in, the gmon.out file in
$PGDATA/base/dbnumber/gmon.out is the one you want.
The profile results for a backend will include the CPU usage of the
postmaster up to the instant that the backend was forked off, but it's
normally easy to ignore that, particularly if you haven't been running
the profilable postmaster for very long before you do the test.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера