gp与 pg 查询进程

select now()-query_start as cost_time,* from pg_stat_activity where current_query not in ( '<IDLE>','<insufficient privilege>') and waiting='f'
order by waiting,cost_time DESC;

 

posted on 2018-01-30 10:49  我叫宋  阅读(330)  评论(0编辑  收藏  举报

导航