pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedclear statistics in pg_stat
3+ messages / 3 participants
[nested] [flat]
* clear statistics in pg_stat
@ 2007-11-29 21:32 Campbell, Lance <lance@uiuc.edu>
0 siblings, 2 replies; 3+ messages in thread
From: Campbell, Lance @ 2007-11-29 21:32 UTC (permalink / raw)
To: pgsql-admin
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.
Thanks,
Lance Campbell
Project Manager/Software Architect
Web Services at Public Affairs
University of Illinois
217.333.0382
http://webservices.uiuc.edu
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: clear statistics in pg_stat
@ 2007-11-29 21:47 Andrew Sullivan <ajs@crankycanuck.ca>
parent: Campbell, Lance <lance@uiuc.edu>
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Sullivan @ 2007-11-29 21:47 UTC (permalink / raw)
To: pgsql-admin
On Thu, Nov 29, 2007 at 03:32:59PM -0600, Campbell, Lance wrote:
> How can I clear pg_stat views? I thought there was a command I could
According to the manual, there's this:
pg_stat_reset()
I suggest you read the section of the manual about stats collection.
A
--
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: clear statistics in pg_stat
@ 2007-11-29 21:52 Milen A. Radev <milen@radev.net>
parent: Campbell, Lance <lance@uiuc.edu>
1 sibling, 0 replies; 3+ messages in thread
From: Milen A. Radev @ 2007-11-29 21:52 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2007-11-29 21:52 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-29 21:32 clear statistics in pg_stat Campbell, Lance <lance@uiuc.edu>
2007-11-29 21:47 ` Andrew Sullivan <ajs@crankycanuck.ca>
2007-11-29 21:52 ` Milen A. Radev <milen@radev.net>
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