Saturday , December 9 2023

How To List Active Queries On PostgreSQL


In this article I will explain you to list active queries in postgresql.

First you must connect to postgresql.

You may want to read the article “How To Connect To Database On PostgreSQL” for connect to postgresql.

After connect to postgresql yo should run the below scripts for readable results.


Then you can list active queries with below scripts.



About dbtut

We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.

Leave a Reply

Your email address will not be published. Required fields are marked *