[gpadmin@bogon ~]$ psql -d tpch1s -- 确认当前资源管理方式: tpch1s=# show gp_resource_manager; gp_resource_manager --------------------- queue (1 row) -- 创建一个新的资源队列queue1: tpch1s=# CREATE RESOURCE QUEUE queue1 WITH (ACTIVE_STATEMENTS=2, MEMORY_LIMIT='600MB'); CREATE QUEUE -- 查询所有资源队列配置信息: tpch1s=# select * from pg_resqueue; rsqname | rsqcountlimit | rsqcostlimit | rsqovercommit | rsqignorecostlimit ------------+---------------+--------------+---------------+-------------------- pg_default | 20 | -1 | f | 0 queue1 | 2 | -1 | f | 0 (2 rows)