mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
- Для процесссов walsender отображается дополнительная информация, которая получается запросом select coalesce(sl.xmin,sl.catalog_xmin)::text xmin_slot,':'||slot_name||'['||sl.slot_type||']' slotinfo,'LagSent:'||pg_size_pretty(pg_wal_lsn_diff(pg_current_wal_lsn(),coalesce(confirmed_flush_lsn,restart_lsn)))||' LagXmin: '||coalesce(extract(epoch from (pg_last_committed_xact()).timestamp - pg_xact_commit_timestamp(xmin))::int,0)||' s' xminlag,coalesce(extract(epoch from (pg_last_committed_xact()).timestamp - pg_xact_commit_timestamp(xmin))::int,0) xminslotdelta from pg_replication_slots sl; в поле backend_xmin <- xmin_slot в поле query <- xminlag - Добавлена подсветка строки оранжевым цветом, если xminslotdelta >= 1800 секунд |
||
|---|---|---|
| .. | ||
| agent | ||
| ctl | ||
| db | ||
| dd | ||
| debugger | ||
| dlg | ||
| frm | ||
| gqb | ||
| hotdraw | ||
| images | ||
| libssh2 | ||
| ogl | ||
| parser | ||
| pgscript | ||
| pro_scheduler | ||
| schema | ||
| slony | ||
| utils | ||
| copyright.h | ||
| module.mk | ||
| pgAdmin3.h | ||
| postgres.h | ||
| precomp.h | ||
| version.h | ||