How to find active and historical SQL queries in Greenplum database

posted Apr 28, 2017, 4:42 PM by Sachchida Ojha
Select * from pg_stat_activity;
Select current_query from pg_stat_activity;
select * from queries_now;
select query_text from queries_history;

Comments