Utility helps to define highweght locks in database PostgreSQL
- docker
- python3.9
docker build -f container.dockerfile -t idle_in_transaction .
docker run -d -p 80:80 idle_in_transaction --name idle --network="host"
python3.9 idle_in.py
All sessions with status
Hightweght locks details
- return hightweght details
- return kill pid list for copy-paste
- pg_wait query details should be appears if locks exists
Idle_in_transaction:
- return indle_in_transaction details
- return kill pid list for copy-paste
Database analise
- Size
- Intensive load
Tables
- Top 10 size
- Top 10 intensive load
- Bloat top 10
- Toast tables
Top query to tune