From: Magnus Hagander <magnus@hagander.net>
To: Campbell, Lance <lance@uiuc.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: clear pg_stats
Date: Thu, 29 Nov 2007 22:57:25 +0100
Message-ID: <474F35C5.9080103@hagander.net> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE8760197E2B@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE8760197E2B@SAB-FENWICK.sab.uiuc.edu>
Campbell, Lance wrote:
> How can I clear the pg_stats views without restarting PostgreSQL? I
> thought there was a function.
pg_stat_reset()
//Magnus
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-performance@postgresql.org
Cc: magnus@hagander.net, lance@uiuc.edu
Subject: Re: clear pg_stats
In-Reply-To: <474F35C5.9080103@hagander.net>
* 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