Re: Vacuum Issues

Поиск
Список
Период
Сортировка
От Darron Harrison
Тема Re: Vacuum Issues
Дата
Msg-id 1711838a1a0.b8776dce198656.4553889266632620330@realtyserver.com
обсуждение исходный текст
Ответ на Re: Vacuum Issues  (Rui DeSousa <rui@crazybean.net>)
Ответы Re: Vacuum Issues
Список pgsql-admin
Unable to run the first query and third query. I believe it's a version issue, as we are running 9.2.4.

No results from select * from pg_prepared_xacts on any of the servers.

Darron




---- On Thu, 26 Mar 2020 11:50:10 -0700 Rui DeSousa <rui@crazybean.net> wrote ----



On Mar 26, 2020, at 2:10 PM, Darron Harrison <darron@realtyserver.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;



В списке pgsql-admin по дате отправления:

Предыдущее
От: Rui DeSousa
Дата:
Сообщение: Re: Vacuum Issues
Следующее
От: Rui DeSousa
Дата:
Сообщение: Re: Vacuum Issues