반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- VPN
- or some instances in your deployment group are experiencing problems.
- node
- COALESCE
- Kafka
- aws
- Spring
- redis
- codebuild
- bootstrap
- codepipeline
- docker
- kubeflow
- IntelliJ
- codedeploy
- Python
- chartjs
- SQL
- PostgreSQL
- Spring Error
- codedeploy error
- Flux
- JavaScript
- AWS CI/CD 구축하기
- java bigdecimal
- Jenkins
- Airflow
- chart.js
- aws cicd
- 도커
Archives
- Today
- Total
Small Asteroid Blog
postgresql 현재 db 와 연결된 쿼리 확인하기 본문
728x90
postgresql 에서 pg_stat_activity 를 사용해 현재 수행중인 쿼리를 확인할 수 있다.
select datname, pid, usename, application_name, client_addr,
client_port, backend_start, query_start, wait_event_type, state, backend_xmin query
from pg_stat_activity;
728x90
반응형
'백엔드 > DB' 카테고리의 다른 글
[DBeaver] Mysql - Public Key Retrieval is not allowed (0) | 2022.01.17 |
---|---|
mysql cli 접속 및 사용자 확인 (0) | 2022.01.17 |
[PostgreSQL] if the message is not readable, please check database logs and/or host, port, dbname, user, password, pg_hba.conf (0) | 2021.12.22 |
postgresql sequence 시퀀스 만들기 (0) | 2021.12.07 |
postgresql id자동증가 - sequence 만들기 (0) | 2021.11.24 |