From: boraldomaster <boraldomaster@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres 9.1 statistics in pg_stat_database
Date: Wed, 4 Sep 2013 03:55:51 -0700 (PDT)
Message-ID: <1378292151856-5769528.post@n5.nabble.com> (raw)
In-Reply-To: <20363.1360266498@sss.pgh.pa.us>
References: <20130207191641.149E5128@centrum.cz>
<17450.1360263900@sss.pgh.pa.us>
<5113FF56.5020309@pinpointresearch.com>
<20363.1360266498@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Let me show you my statistics, that confuses me even in terms of this
discussion.
What am I doing.
1. Create a database *highload*.
2. Execute *select xact_commit from pg_stat_database where datname =
'highload'* from neighbouring database (so that xact_commit is counted to
that neighbour) and receive 0.
3. Connect to database from several different clients and get +1 to
xact_commit for each connection.
4. Wait for 1 min (several times) and get +2 each minute - so this is
autovacuum works.
5. Start executing simple select *select * from pg_user*
Each select gives me +4, +5, +6. In pgadmin - even +19.
So the first question.
1. Why autovacuum gives +2
2. Why select gives +4 an more ?
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Postgres-9-1-statistics-in-pg-stat-database-tp5744283p576952...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: boraldomaster@gmail.com
Subject: Re: Postgres 9.1 statistics in pg_stat_database
In-Reply-To: <1378292151856-5769528.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox