select sysdate, * from pg_catalog.pv_total_memory_detail;
select sysdate, * from pg_catalog.pv_session_memory_detail order by totalsize desc limit 20;
select sysdate,*  from pg_catalog.pg_shared_memory_detail;
select * from pg_catalog.pg_stat_activity where state='active';