If I read the xact_commit field returned by "Select * from pg_stat_database" multiple times, and then average the difference between consecutive values, would this give an approx idea about the transactions per second in my database?
Does this figure include the number of select statements being executed in the db?
With regards
Amitabh