Re: Statistics Collector not collecting server activities - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: Statistics Collector not collecting server activities
Date
Msg-id 4BB31032.6060809@lelarge.info
Whole thread Raw
In response to Re: Statistics Collector not collecting server activities  ("Gnanakumar" <gnanam@zoniac.com>)
Responses Re: Statistics Collector not collecting server activities
List pgsql-admin
Le 31/03/2010 10:58, Gnanakumar a écrit :
> I’m also seeing a weird thing.  If I do ‘show stats_start_collector;’ inside
> psql, it says ‘off’.
>
> I’ve also restarted my server many times after making all the changes.
>
> As per 8.2 doc,
> http://www.postgresql.org/docs/8.2/interactive/runtime-config-statistics.htm
> l, stats_start_collector is on by default.
>

If it is off (as you found with the "show stats_start_collector"
statement), you should getting ride of the # in front of the
stats_start_collector parameter. Ie, you should have

stats_start_collector = on

and not

#stats_start_collector = on

or

#stats_start_collector = off

Once you've done this, restart PostgreSQL and it should work.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

pgsql-admin by date:

Previous
From: "Gnanakumar"
Date:
Subject: Re: Statistics Collector not collecting server activities
Next
From: "Gnanakumar"
Date:
Subject: Re: Statistics Collector not collecting server activities