Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 53292633197 for ; Wed, 31 Mar 2010 06:15:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 86504-06 for ; Wed, 31 Mar 2010 09:15:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from rs47.luxsci.com (rs47.luxsci.com [65.61.166.88]) by mail.postgresql.org (Postfix) with ESMTP id 993AC633E02 for ; Wed, 31 Mar 2010 06:15:09 -0300 (ADT) Received: from gnanam (ABTS-TN-Static-186.58.165.122.airtelbroadband.in [122.165.58.186] (may be forged)) (authenticated bits=0) by rs47.luxsci.com (8.13.1/8.13.7) with ESMTP id o2V9F2ta029825; Wed, 31 Mar 2010 04:15:04 -0500 Reply-To: From: "Gnanakumar" To: "'Guillaume Lelarge'" Cc: References: <007501cad09d$326fefc0$974fcf40$@com> <4BB2FA68.6060708@lelarge.info> <00b601cad0b0$5e713760$1b53a620$@com> <4BB31032.6060809@lelarge.info> In-Reply-To: <4BB31032.6060809@lelarge.info> Subject: Re: Statistics Collector not collecting server activities Date: Wed, 31 Mar 2010 14:44:58 +0530 Organization: Zoniac Software Private Limited Message-ID: <00c001cad0b2$a4a89c30$edf9d490$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcrQsTkljJpahPMARmG0NFGppAWbiQAAOyZA Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.03 tagged_above=-10 required=5 tests=AWL=-0.031, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201003/277 X-Sequence-Number: 34076 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@lelarge.info]=20 Sent: Wednesday, March 31, 2010 2:35 PM To: gnanam@zoniac.com Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Statistics Collector not collecting server = activities Le 31/03/2010 10:58, Gnanakumar a =E9crit : > I=92m also seeing a weird thing. If I do =91show = stats_start_collector;=92 inside > psql, it says =91off=92. >=20 > I=92ve also restarted my server many times after making all the = changes. >=20 > 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. >=20 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 =3D on and not #stats_start_collector =3D on or #stats_start_collector =3D off Once you've done this, restart PostgreSQL and it should work. --=20 Guillaume. http://www.postgresqlfr.org http://dalibo.com