mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Add functions to reset the statistics counter for a single table/index or
a single function.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.74 2010/01/19 14:11:30 mha Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.75 2010/01/28 14:25:41 mha Exp $ -->
|
||||
|
||||
<chapter id="monitoring">
|
||||
<title>Monitoring Database Activity</title>
|
||||
@ -929,6 +929,24 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
||||
<structname>pg_stat_bgwriter</>.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal><function>pg_stat_reset_single_table_counters</function>(oid)</literal></entry>
|
||||
<entry><type>void</type></entry>
|
||||
<entry>
|
||||
Reset statistics for a single table or index in the current database to
|
||||
zero (requires superuser privileges)
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal><function>pg_stat_reset_single_function_counters</function>(oid)</literal></entry>
|
||||
<entry><type>void</type></entry>
|
||||
<entry>
|
||||
Reset statistics for a single function in the current database to
|
||||
zero (requires superuser privileges)
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user