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

From Fujii Masao
Subject Re: Support reset of Shared objects statistics in "pg_stat_reset" function
Date
Msg-id 8dcb2645-2aac-858f-3913-8c7fb04d6107@oss.nttdata.com
Whole thread Raw
In response to Re: Support reset of Shared objects statistics in "pg_stat_reset" function  (Mahendra Singh Thalor <mahi6run@gmail.com>)
Responses Re: Support reset of Shared objects statistics in "pg_stat_reset" function  (Sadhuprasad Patro <b.sadhu@gmail.com>)
List pgsql-hackers

On 2021/08/20 11:07, Mahendra Singh Thalor wrote:
> 1)
>           Resets statistics for a single table or index in the current database
> -        to zero.
> +        to zero. The input can be a shared table also
> 
> I think, above comment should be modified. Maybe, we can modify it as "If input is a shared oid(table or index or
toast),then resets statistics for a single shared entry to zero.
 

I'm not sure if ordinary users can understand what "shared oid" means. Instead,
what about "Resets statistics for a single relation in the current database or
shared across all databases in the cluster to zero."?

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: Mahendra Singh Thalor
Date:
Subject: Re: Support reset of Shared objects statistics in "pg_stat_reset" function
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Some leftovers of recent message cleanup?