Re: Access statistics

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Access statistics
Date: 2001-06-01 14:08:41
Message-ID: 686.991404521@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> So outing myself not beeing a *real programmer*, this is what
> I have so far:

Hmm ... what is the performance of all this like? Seems like a lot
of overhead. Can it be turned off?

> * Backends call some collector functions at various places
> now (these will finally be macros), that count up table
> scans, tuples returned by scans, buffer fetches/hits and
> the like.

Have you removed the existing stats-gathering support
(backend/access/heap/stats.c and so on)? That would buy back
at least a few of the cycles involved ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2001-06-01 14:34:36 Re: Access statistics
Previous Message Tom Lane 2001-06-01 13:49:25 Re: ERROR: cache lookup for proc 43030134 failed