pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MichaelDBA <MichaelDBA@sqlexec.com>
To: Tharmarajah, Sam <sambavan.tharmarajah@usask.ca>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: How to gather transaction information for reporting in postgress
Date: Fri, 11 Dec 2020 11:23:59 -0500
Message-ID: <0cf5855e-39d9-244e-1523-be0416a432fc@sqlexec.com> (raw)
In-Reply-To: <YTOPR0101MB16414BE213A2F5B888CC11A5F1CA0@YTOPR0101MB1641.CANPRD01.PROD.OUTLOOK.COM>
References: <YTOPR0101MB16414BE213A2F5B888CC11A5F1CA0@YTOPR0101MB1641.CANPRD01.PROD.OUTLOOK.COM>

You can get transactions per time duration aka TPS from pg_stat_database 
table for commit and rollbacks.

Regards,
Michael Vitale

Tharmarajah, Sam wrote on 12/11/2020 10:49 AM:
>
> Hi All,
>
> I am new to postgress. We have postgress 9.3 and we have been 
> requested to gather transaction information from the database. I there 
> any views or tables that we can use to gather those information?
>
> My advance thanks for all the helps.
>
> Thanx,
>
> Sam
>

view thread (2+ messages)

Message-ID: <0cf5855e-39d9-244e-1523-be0416a432fc@sqlexec.com>
Permalink:  ../0cf5855e-39d9-244e-1523-be0416a432fc@sqlexec.com/
Also on:    postgresql.org/message-id/0cf5855e-39d9-244e-1523-be0416a432fc@sqlexec.com

 · 

reply

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: MichaelDBA@sqlexec.com, sambavan.tharmarajah@usask.ca, pgsql-admin@lists.postgresql.org
  Subject: Re: How to gather transaction information for reporting in postgress
  In-Reply-To: <0cf5855e-39d9-244e-1523-be0416a432fc@sqlexec.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