Re: clear pg_stats - Mailing list pgsql-performance

From Magnus Hagander
Subject Re: clear pg_stats
Date
Msg-id 474F35C5.9080103@hagander.net
Whole thread Raw
In response to clear pg_stats  ("Campbell, Lance" <lance@uiuc.edu>)
List pgsql-performance
Campbell, Lance wrote:
> How can I clear the pg_stats views without restarting PostgreSQL?  I
> thought there was a function.

pg_stat_reset()

//Magnus

pgsql-performance by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: clear pg_stats
Next
From: Mark Kirkwood
Date:
Subject: Re: TB-sized databases