Search Postgresql Archives

Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why?

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

 



As a superuser, rename pg_stat_reset inside one of the commonly affected databases:

alter function pg_stat_reset rename to hey_stop_running_pg_stat_reset_already;

Then see who starts complaining. Additionally, your server log will get helpful entries like this:

ERROR:  function pg_stat_reset() does not exist

Cheers,
Greg


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux