Re: Configuration of statistical views - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Configuration of statistical views
Date
Msg-id Pine.LNX.4.30.0106292317350.867-100000@peter.localdomain
Whole thread Raw
In response to Re: Configuration of statistical views  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Configuration of statistical views
List pgsql-hackers
Tom Lane writes:

> Probably there need to be at least 2 variables: (a) a PGC_POSTMASTER
> variable that controls whether the stats collector is even started,
> and (b) PGC_USERSET variable(s) that enable a particular backend to
> send particular kinds of data to the collector.  Note that, for example,
> backend start/stop events probably need to be reported whenever the
> postmaster variable is set, even if all the USERSET variables are off.

I'm not familiar with the kinds of statistics that are supposed to be
gathered here, but I suppose their usefulness would be greatly increased
if they were gathered across all data/actions, not only the ones that the
users turned them on for.  So I think ordinary users have no business
controlling these settings.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: functions returning sets
Next
From: Tom Lane
Date:
Subject: Re: Configuration of statistical views