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