Re: DTrace Probes? - Mailing list pgsql-hackers

From Nicolai Tufar
Subject Re: DTrace Probes?
Date
Msg-id d8092939050617063845634027@mail.gmail.com
Whole thread Raw
In response to DTrace Probes?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 6/17/05, Josh Berkus <josh@agliodbs.com> wrote:
> Hey, Folks,
>
> I need to find someone who's really interesed in working with DTrace.  Sun
> has offered to help put DTrace probes into PostgreSQL for advanced
> profiling, but need to know where to probe.   Anyone?
>
> I'm afraid that I won't get around to this quickly enough.

I played a little with DTrace probes when Solaris 10 just came
out. DTrace is useful when you have no source code of application
or when you are collecting statistics on a live system. Otherwise
it is not much different from gprof apart, maybe, that it can collect
statistics about kernel syscalls.

Anyways, DTrace is a very powerful yet lightweight tool. Creating a
strace program to attach to a running PostgreSQL instance and collect
statistics will be a nice thing to do. We may even find some bottlenecks
in our code. I can volunteer to do it but I do not have a through understanding
of PostgreSQL internals.

> --Josh
Regards,
Nicolai


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Utility database (Was: RE: Autovacuum in the backend)
Next
From: Christopher Browne
Date:
Subject: Re: Autovacuum in the backend