Re: clear pg_stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Campbell, Lance wrote:
How can I clear the pg_stats views without restarting PostgreSQL?  I
thought there was a function.

SELECT pg_stat_reset();

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux