Profiling postgres

From: Suresh <suiyengar(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Profiling postgres
Date: 2008-07-27 12:55:42
Message-ID: 811840.48974.qm@web54505.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hello,

I want to profile some functions in postgres using gprof. I am following this procedure listed in nabble forum.

# cd postgres/bin
#  cd .../src/backend
#  make clean
#  make PROFILE="-pg" all

How to proceed after this ? I am not getting the gmon.out file. How do I run ./postgres test under the profiler ?

thanks and regards,
Suresh

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message 赵 熠 2008-07-27 13:57:11 why my postgresql auto crashed???
Previous Message Stephane Bortzmeyer 2008-07-27 09:58:48 Re: procedure to load xml file data in postgesql