Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query

From: Jeremy Schneider <schneider(at)ardentperf(dot)com>
To: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Date: 2018-06-20 07:49:04
Message-ID: 3A3431D8-3380-48A9-8E5B-26953DACFA96@ardentperf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> On Jun 20, 2018, at 12:30 AM, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com> wrote:
>
> Attached is a simple patch with implementation. Comments?

Seems useful to me too! What are the odds we could have a column telling the timestamp when a particular query was last reset? Would that be complicated to add?

-Jeremy

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2018-06-20 07:50:11 Re: ToDo: show size of partitioned table
Previous Message Liudmila Mantrova 2018-06-20 07:48:47 Re: documentation is now XML