Re: [HACKERS] keeping track of connections

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: dz@cs.unitn.it (Massimo Dal Zotto)
Cc: hackers@postgreSQL.org
Date: 1998-06-08T16:05:24Z
Lists: pgsql-hackers
> 
> > 
> > On Thu, 4 Jun 1998, David Gould wrote:
> > 
> > > Oh, ok. Some suggestions have been made the the postmaster would open a
> > > connection to it's own backend to do queries. I was responding to this.
> > > I agree that we should just store the information in shared memory.
> > 
> > 	How does one get a history for long term monitoring and statistics
> > by storing in shared memory?
> > 
> > Marc G. Fournier                                
> > Systems Administrator @ hub.org 
> > primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> 
> Why not simply append history lines to a normal log file ? In this way you
> don't have the overhead for accessing tables and can do real-time processing
> of the data with a simple tail -f on the file.
> I use this trick to monitor the log file written by 30 backends and it works
> fine for me.

I agree.  We have more important items to address.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)