Re: Sampling Profler for Postgres - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Sampling Profler for Postgres
Date
Msg-id 19676.1236650247@sss.pgh.pa.us
Whole thread Raw
In response to Sampling Profler for Postgres  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: Sampling Profler for Postgres  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Sampling Profler for Postgres  (Stefan Moeding <pgsql@moeding.net>)
Re: Sampling Profler for Postgres  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> For resource-based profilers, we have DTrace probes[1] and continue to
> extend them[2], but unfortunately DTrace only works on Solaris and limited
> platforms.

FWIW, the systemtap guys are really, really close to having a working
DTrace equivalent for Linux:
http://gnu.wildebeest.org/diary/2009/02/24/systemtap-09-markers-everywhere/

It's not *quite* there for our purposes
https://bugzilla.redhat.com/show_bug.cgi?id=488941
but I'll be surprised if I'm not dtracing on my Fedora 10 machine before
the week is out.

I'm not at all convinced that we should be putting effort into a
homegrown, partial substitute for DTrace.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Dickson S. Guedes"
Date:
Subject: Re: Sampling Profler for Postgres
Next
From: Tom Lane
Date:
Subject: Re: parallel restore fixes