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-tp5744283p5769528.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.