Re: pg_stat

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: Nailah Ogeer <ogeer(at)cs(dot)queensu(dot)ca>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_stat
Date: 2003-11-07 02:32:54
Message-ID: 3FAB0456.8010708@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>> Just wondering how often the stats collector resets it self. Is this a
>> parameter i can change?
>
>
> At my knowledge each time that you do an analyze on
> your db your statistics are changed ( are not incremental
> I mean), anyway you can set to reset statistics at the
> start of postgres.

I think you're mixed up there. Stats collector is totally different thing.

The stats collector is never reset. You can reset it manually by going:

select pg_stat_reset();

And you can specify in the postgresql.conf that it should be reset on
server restart if you like.

Chris

In response to

  • Re: pg_stat at 2003-11-06 23:28:21 from Gaetano Mendola

Browse pgsql-general by date

  From Date Subject
Next Message Craig O'Shannessy 2003-11-07 03:06:59 Re: Optimiser desicion bringing system to its knees?
Previous Message btober 2003-11-07 01:27:55 on connect trigger?

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2003-11-07 03:42:57 Re: [HACKERS] Changes to Contributor List
Previous Message Larry Rosenman 2003-11-07 01:30:12 Re: OpenServer 5.0.7: setsockopt(TCP_NODELAY)?