Skip site navigation (1) Skip section navigation (2)

Re: Configuration of statistical views

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Configuration of statistical views
Date: 2001-06-29 18:36:13
Message-ID: 200106291836.f5TIaDh13333@jupiter.us.greatbridge.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Bruce Momjian wrote:
> > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > >> If  somebody  wants  to  see  an applications querystring (at
> > >> least the first 512 bytes) just in case something goes  wrong
> > >> and  the client hangs, he'd have to run querystring reporting
> > >> all the time either way.
> >
> > > Agreed.  That should be on all the time.
> >
> > "On by default", sure.  "On all the time", I'm not sold on.
>
> So we will havre GUC for stats and query string.  Fine.  Set query
> string on by default and stats off by default.  Good.
>
> >
> > But anyway, we seem to be converging on the conclusion that setting
> > up a GUC variable will do fine, at least until there is definite
> > evidence that it won't.
> >
> > 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.
>
> And another one to control whether the daemon is even running.  OK.

    Forcing the other two to stay off if no daemon present.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck(at)Yahoo(dot)com #



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


In response to

pgsql-hackers by date

Next:From: Jan WieckDate: 2001-06-29 18:44:12
Subject: Re: Configuration of statistical views
Previous:From: Jan WieckDate: 2001-06-29 18:19:54
Subject: Re: Configuration of statistical views

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group