From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Stats Collector |
Date: | 2002-07-23 14:35:53 |
Message-ID: | 3D3D69C9.3D845A39@Yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Robert Treat wrote:
>
> I don't think there is any way to do it without restarting the server
> and using STATS_RESET_ON_SERVER_START from the postgresql.conf
>
> you might be able to do it by killing the stats collector process on
> your machine, but i cant recall if postmaster will automagically fire up
> a new collector or if you have to do something more involved. It might
> be worth trying on a development machine.
You can kill it and postmaster will fire up a new one, which ironically
reads in the data/global/pgstat.stat file if it exists, which on a busy
server get's recreated/overwritten every 500 milliseconds. You must
remove that file and kill the collector before it get's recreated ... so
semicolon is your friend ;-)
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 #
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2002-07-23 14:37:39 | Re: How to covert 'char' to 'inet' |
Previous Message | Carmen Wai | 2002-07-23 14:35:40 | Case in-sensitive |
From | Date | Subject | |
---|---|---|---|
Next Message | Samuel J. Sutjiono | 2002-07-23 14:36:13 | RAMDISK |
Previous Message | Jan Wieck | 2002-07-23 14:05:28 | Re: Stats Collector |