pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolai Tufar <ntufar@gmail.com>
To: josh@agliodbs.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: DTrace Probes?
Date: Fri, 17 Jun 2005 16:38:18 +0300
Message-ID: <d8092939050617063845634027@mail.gmail.com> (raw)
In-Reply-To: <200506161731.37945.josh@agliodbs.com>
References: <200506161731.37945.josh@agliodbs.com>

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



view thread (8+ messages)  latest in thread

Message-ID: <d8092939050617063845634027@mail.gmail.com>
Permalink:  ../d8092939050617063845634027@mail.gmail.com/
Also on:    postgresql.org/message-id/d8092939050617063845634027@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: ntufar@gmail.com, josh@agliodbs.com
  Subject: Re: DTrace Probes?
  In-Reply-To: <d8092939050617063845634027@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox