Re: Tracing I/O (was: 8.1 and syntax checking at create time)

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: huaxin zhang <uwcssa(at)gmail(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tracing I/O (was: 8.1 and syntax checking at create time)
Date: 2005-09-02 02:26:53
Message-ID: 20050902022653.GA1120@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 01, 2005 at 09:06:29PM -0500, Jim C. Nasby wrote:
> On Wed, Aug 31, 2005 at 04:08:10PM -0400, huaxin zhang wrote:
> > I am new to this hacker's job. What I was looking for was to record
> > the actual disk IO performed for arbituary query plan. I searched
> > in backend/executor but not sure if that was the right place to
> > add a tracer. would the /backend/storage be the place that controls
> > the actual I/O? btw, is there a way to find the definitions of all variables
> > or functions defined? I tried cscope but it is not good for such a large
> > framework.
> > thanks a lot
>
> I believe you'd want backend/storage, but I'm just guessing.

backend/storage/smgr/md.c

--
Alvaro Herrera -- Valdivia, Chile Architect, www.EnterpriseDB.com
"Sallah, I said NO camels! That's FIVE camels; can't you count?"
(Indiana Jones)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2005-09-02 03:11:42 Additional background daemon (was: Remove xmin and cmin from frozen tuples)
Previous Message Matthew Miller 2005-09-02 02:06:40 Re: PL/pgSQL: EXCEPTION NOSAVEPOINT