xact_start time set to very old value

Поиск
Список
Период
Сортировка
От Virendra Kumar
Тема xact_start time set to very old value
Дата
Msg-id 1930665427.2385958.1597039512032@mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
Hi Team,

We have observed that xact_start time is null for some period and suddenly it populates to very old value. We have a query which runs every minute to report any transactions running for long time. That query reports nothing continuously for a minute before and suddenly it reports one transaction which is running for more than one day. Is there something wrong here in populating xact_start time in pg_stat_activity? Shall we go with any other approach to detect long running transaction in database? Can someone guide on this?


Appreciate your response.

We are using AWS RDS 11.4.

Regards,
-Virendra


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

Предыдущее
От: Rama Krishnan
Дата:
Сообщение: Re: Need a depth information about bloat
Следующее
От: Ashkar Dev
Дата:
Сообщение: UUID or auto-increment