Re: poor performance on 7.1 vs 7.0 - Mailing list pgsql-general

From Tom Lane
Subject Re: poor performance on 7.1 vs 7.0
Date
Msg-id 8690.989358810@sss.pgh.pa.us
Whole thread Raw
In response to Re: poor performance on 7.1 vs 7.0  (Kyle <kaf@nwlink.com>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ALTER COLUMN
Next
From: Fran Fabrizio
Date:
Subject: Re: select off of a view going slowly