pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: gnanam@zoniac.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Statistics Collector not collecting server activities
Date: Wed, 31 Mar 2010 11:04:50 +0200
Message-ID: <4BB31032.6060809@lelarge.info> (raw)
In-Reply-To: <00b601cad0b0$5e713760$1b53a620$@com>
References: <007501cad09d$326fefc0$974fcf40$@com>
	<4BB2FA68.6060708@lelarge.info>
	<00b601cad0b0$5e713760$1b53a620$@com>

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



view thread (18+ messages)  latest in thread

Message-ID: <4BB31032.6060809@lelarge.info>
Permalink:  ../4BB31032.6060809@lelarge.info/
Also on:    postgresql.org/message-id/4BB31032.6060809@lelarge.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: guillaume@lelarge.info, gnanam@zoniac.com
  Subject: Re: Statistics Collector not collecting server activities
  In-Reply-To: <4BB31032.6060809@lelarge.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox