提交 e93b3375 编写于 作者: B Bruce Momjian

Document that xact commit/abort stats are collected if any stat variable

is set.
上级 2fc80b9a
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.29 2005/10/06 02:29:06 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.30 2006/02/14 02:03:44 momjian Exp $
--> -->
<chapter id="monitoring"> <chapter id="monitoring">
...@@ -145,10 +145,15 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re ...@@ -145,10 +145,15 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
overhead occurs. These respectively determine whether a server overhead occurs. These respectively determine whether a server
process sends its current command string, disk-block-level access process sends its current command string, disk-block-level access
statistics, and row-level access statistics to the collector. statistics, and row-level access statistics to the collector.
Normally these parameters are set in <filename>postgresql.conf</> Additionally, per-database transaction commit and abort statistics
so that they apply to all server processes, but it is possible to are collected if any of these parameters are set.
turn them on or off in individual sessions using the <xref </para>
linkend="sql-set" endterm="sql-set-title"> command. (To prevent
<para>
Normally these parameters are set in <filename>postgresql.conf</> so
that they apply to all server processes, but it is possible to turn
them on or off in individual sessions using the <xref
linkend="sql-set" endterm="sql-set-title"> command. (To prevent
ordinary users from hiding their activity from the administrator, ordinary users from hiding their activity from the administrator,
only superusers are allowed to change these parameters with only superusers are allowed to change these parameters with
<command>SET</>.) <command>SET</>.)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册