Re: Support reset of Shared objects statistics in "pg_stat_reset" function - Mailing list pgsql-hackers

From Sadhuprasad Patro
Subject Re: Support reset of Shared objects statistics in "pg_stat_reset" function
Date
Msg-id CAFF0-CHNLYBM3XsFkPvW5EAvs+9e6HaO_VOUgsn1Z7GQQfWWkA@mail.gmail.com
Whole thread Raw
In response to Re: Support reset of Shared objects statistics in "pg_stat_reset" function  (Sadhuprasad Patro <b.sadhu@gmail.com>)
Responses Re: Support reset of Shared objects statistics in "pg_stat_reset" function
List pgsql-hackers
> If we do support resetting the stats for shared tables in
> 'pg_stat_reset', which is for DB level,
> then the stats of shared tables will be reseted in other instances as
> well, which seems to be not correct.
> So we need to provide some way to reset the stats for shared tables to
> customers.
>
> In the latest patch, we have supported only through the
> pgstat_recv_resetsinglecounter function to reset stats for shared
> tables.

Final patch attached after some corrections..

Thanks & Regards
SadhuPrasad
EnterpriseDB: http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: badly calculated width of emoji in psql
Next
From: Mahendra Singh Thalor
Date:
Subject: Re: Support reset of Shared objects statistics in "pg_stat_reset" function