Site icon Database Tutorials

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.

 

Exit mobile version