Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

use of pg_stat_database



Hellow,
 
I like to track the number of committed transaction for my database
So I use the following command 
Select * from pg_stat_database;
 
The column xact_commit gives me the number of transaction committed
 
But if I execute the same command another time, the column xact_commit gives me an other number.
 
Between the first select and the second select I don’t execute any transaction on my database
 
Please, can any one help me to understanding the cause of the change?
 
Thanks very much 


      


Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group