Re: [GENERAL] Tracking database activity

2007-01-23 Thread Erik Jones
Tom Lane wrote: Erik Jones <[EMAIL PROTECTED]> writes: ... I was previously under the impression that by tracking age(datfrozenxid) in pg_database over time I'd be able to know how many transactions were processed in a certain amount of time. However, I've seend that pg_stat_database.xact_

Re: [GENERAL] Tracking database activity

2007-01-22 Thread Tom Lane
Erik Jones <[EMAIL PROTECTED]> writes: > ... I was previously under the impression that by > tracking age(datfrozenxid) in pg_database over time I'd be able to know > how many transactions were processed in a certain amount of time. > However, I've seend that pg_stat_database.xact_commit + > p

[GENERAL] Tracking database activity

2007-01-22 Thread Erik Jones
Hi, I'm hoping someone can help me wrap my head around some #s I'm using to track database activity. I have a script that runs hourly and queries pg_stat_database and checks age(datfrozenxid) in pg_database. It logs those stats and the next hour, when it runs, it takes the differences to chec