2020. 7. 24. 16:42
PostgreSQL
blocking session 모니터링
SELECT
datname,
usename,
application_name,
now()-backend_start AS "Session duration",
pid,
wait_event,
wait_event_type,
query
FROM
pg_stat_activity
WHERE
state='active'
AND wait_event IS NOT NULL;
'PostgreSQL' 카테고리의 다른 글
DESCRIBE TABLE ( (0) | 2021.06.15 |
---|---|
pg_stat_statements (0) | 2021.06.03 |
pg_settings 칼럼 설명 (0) | 2020.05.20 |
postgresql.conf 파일 설정 (0) | 2020.04.27 |
Heidi SQL 접속시 LIBPQ.DLL 오류 해결 (0) | 2020.03.24 |