GBase 8a
运维管理
文章

GBase 8a-resource_pool信息查询

发表于2024-11-27 22:50:5021次浏览2个评论

所在数据库:gbase

表名:resource_pool

表结构信息说明:

列 名 描 述 

列 名 描 述
resource_pool_id 资源池 ID
resource_pool_name 资源池名称
resource_pool_type 资源池类型(静态/动态)
parent_resource_pool_id 父资源池 ID
priority 资源池优先级
max_memory 内存使用上限
max_tmp_table_space 磁盘临时空间使用上限
max_disk_space 磁盘空间使用上限
task_parallel 任务并发度
max_task_number 最大任务数量
cpu_percent CPU 使用上限
disk_write_bps 磁盘写操作 IO 使用上限
disk_read_bps 磁盘读操作 IO 使用上限
waiting_timeout 任务等待时长上限
running_timeout 任务运行时长上限
Vc_id 虚拟集群名    

查询用户对应的资源池:

select a.resource_pool_name,b.resource_plan_directive_name,b.consumer_group_id,c.user_name  from gbase.resource_pool a left join resource_plan_directive b on a.resource_pool_id=b.resource_pool_id left join gbase.consumer_group_user c on b.consumer_group_id=c.consumer_group_id where a.vc_id='vc00001';

评论

登录后才可以发表评论
用户头像
levvel发表于 9个月前
来报个到
用户头像
levvel发表于 2个月前
就是看看,顺便踩个脚印