Re: Multixacts wraparound monitoring

From: "Pavlov, Vladimir" <Vladimir(dot)Pavlov(at)tns-global(dot)ru>
To: 'Alvaro Herrera' <alvherre(at)2ndquadrant(dot)com>
Cc: 'Adrian Klaver' <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Multixacts wraparound monitoring
Date: 2016-03-24 20:51:08
Message-ID: B38B34EC5621E34DABCE13E8B18936E602DC2C14BE59@EXSERV.Gallup.tns
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

There is nothing:
select * from pg_prepared_xacts;
transaction | gid | prepared | owner | database
-------------+-----+----------+-------+----------
(0 rows)
It is also noticed that a lot of files in a directory main/pg_multixact/members/, now - 69640.

Kind regards,
 
Vladimir Pavlov

-----Original Message-----
From: Alvaro Herrera [mailto:alvherre(at)2ndquadrant(dot)com]
Sent: Thursday, March 24, 2016 9:03 PM
To: Pavlov Vladimir
Cc: 'Adrian Klaver'; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Multixacts wraparound monitoring

Pavlov, Vladimir wrote:
> Thanks for your reply.
> Yes, the first thing I looked at the statistics from pg_stat_activity.
> But I have a transaction is not more than 60 seconds and the condition 'idle in transaction' lasts only a few seconds.

Maybe you have a prepared transaction? See select * from pg_prepared_xacts;

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2016-03-24 21:24:35 Re: Multixacts wraparound monitoring
Previous Message Gavin Flower 2016-03-24 20:40:04 Re: Uninstalled working db by mistake