Search Postgresql Archives

Re: Reset DB stats suggestion pg_stat_reset()

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

 



Thanks Adrian.
I am aware about the functions. Here need is, can we use this?.or is there any known effects after firing the functions?.

Thanks,
Postgann.

On Sat, Feb 22, 2020 at 10:47 PM Adrian Klaver <adrian.klaver@xxxxxxxxxxx> wrote:
On 2/22/20 12:26 AM, postggen2020 s wrote:
> Hi Team,
>
> Good Afternoon,
>
> We have seen some deadlocks and tempfile count in pg_stat_database view.
> We are trying to reset the stats.
> Can we use pg_stat_reset() function to reset these stats without any
> impact stats of databases.
> Please advise the process to reset the stats.

See here:

https://www.postgresql.org/docs/12/monitoring-stats.html

Table 27.20. Additional Statistics Functions

It details what your options are.

>
> Thanks.
> Postggen.


--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx

[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 Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux