From: Armand Pirvu (home) <armand.pirvu@gmail.com>
To: Kevin Grittner <kgrittn@ymail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: counting transactions
Date: Tue, 8 Sep 2015 20:28:23 -0500
Message-ID: <DEC8D5BA-399B-411D-BAB6-6687B0C84497@gmail.com> (raw)
In-Reply-To: <1118639083.2187087.1441716965175.JavaMail.yahoo@mail.yahoo.com>
References: <60217767-53CA-49C0-9A80-C1EAB4E24D5F@gmail.com>
<1118639083.2187087.1441716965175.JavaMail.yahoo@mail.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Perfect Kevin
Many thanks.
On the same token anyway I can count the number of connects/disconnects for a specific database ?
Thanks
Armand
On Sep 8, 2015, at 7:56 AM, Kevin Grittner <kgrittn@ymail.com> wrote:
> Armand Pirvu (gmail) <armand.pirvu@gmail.com> wrote:
>
>> is there any way to really count the transactions ? In Ingres for
>> example I can look in logdump output or in imadb
>
> If you only care about transactions that modify the database, you
> could look at the output of the pg_controldata utility and pick off
> the NextXID value.
>
> --
> Kevin Grittner
> EDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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: armand.pirvu@gmail.com, kgrittn@ymail.com
Subject: Re: counting transactions
In-Reply-To: <DEC8D5BA-399B-411D-BAB6-6687B0C84497@gmail.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