Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id EDEAF2E3D32 for ; Thu, 29 Nov 2007 17:59:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 84589-01-3 for ; Thu, 29 Nov 2007 17:58:54 -0400 (AST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 6AFF72E3DC3 for ; Thu, 29 Nov 2007 17:54:50 -0400 (AST) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IxrK9-0006o1-2v for pgsql-admin@postgresql.org; Thu, 29 Nov 2007 21:53:33 +0000 Received: from 77.70.61.39 ([77.70.61.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Nov 2007 21:53:33 +0000 Received: from milen by 77.70.61.39 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Nov 2007 21:53:33 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: "Milen A. Radev" Subject: Re: clear statistics in pg_stat Date: Thu, 29 Nov 2007 23:52:27 +0200 Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.70.61.39 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/247 X-Sequence-Number: 27490 Campbell, Lance написа: > How can I clear pg_stat views? I thought there was a command I could > do. I added a series of indexes. I would like to start out fresh with > the stats. I ran vacuum full analyze. "pg_stat_reset()"? (http://www.postgresql.org/docs/current/static/monitoring-stats.html#MONITORING-STATS-SETUP) -- Milen A. Radev