Re: Statistics Collector not collecting server activities

From: "Gnanakumar" <gnanam(at)zoniac(dot)com>
To: "'Guillaume Lelarge'" <guillaume(at)lelarge(dot)info>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Statistics Collector not collecting server activities
Date: 2010-03-31 09:14:58
Message-ID: 00c001cad0b2$a4a89c30$edf9d490$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

OK. I'll try that way.

But, as per 8.2 doc, by default it is ON. So if I comment with just '#'
infront of the parameter, and restart PostgreSQL, this change will not be
reflected, which means it should work with default value ON?

-----Original Message-----
From: Guillaume Lelarge [mailto:guillaume(at)lelarge(dot)info]
Sent: Wednesday, March 31, 2010 2:35 PM
To: gnanam(at)zoniac(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Statistics Collector not collecting server activities

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2010-03-31 09:26:23 Re: Statistics Collector not collecting server activities
Previous Message Guillaume Lelarge 2010-03-31 09:04:50 Re: Statistics Collector not collecting server activities