Re: Vacuum Issues

From: Rui DeSousa <rui(at)crazybean(dot)net>
To: Darron Harrison <darron(at)realtyserver(dot)com>
Cc: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Vacuum Issues
Date: 2020-03-26 18:50:10
Message-ID: 8612E7A0-95FE-45DD-92BF-99FF68757BCF@crazybean.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Mar 26, 2020, at 2:10 PM, Darron Harrison <darron(at)realtyserver(dot)com> wrote:
>
>
> Anyone have any thoughts on what we should be checking next?
>

Check the backend_xmin in pg_stat_activity; is the holdup in one of replicas or on the master?

select pid
, usename
, client_addr
, state
, backend_type
, backend_xid
, backend_xmin
from pg_stat_activity
where backend_xmin is not null
order by age(backend_xmin) desc
limit 10
;

Two-phase transactions:

select * from pg_prepared_xacts;

Replication slots:

select * from pg_replication_slots;

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Darron Harrison 2020-03-26 19:01:36 Re: Vacuum Issues
Previous Message Darron Harrison 2020-03-26 18:10:42 Vacuum Issues