You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by 王博 <50...@qq.com.INVALID> on 2023/09/06 07:13:09 UTC
回复:Doris Workload group
A user can have access to multiple workload groups.
You can specify which group to use when query in two places;
1, user default property; exec 'SHOW PROPERTY for root like '%default_workload_group%';' you can see user's property default_workload_group, if you don't exec 'set workload_group=xxx', then default_workload_group could be used.
2, session variables; a username may be used in many jdbc connection, every jdbc connection can set its owned workload_group variables. for example, a username is 'jack', it can visit workload group 'g1,g2', then
jdbc connection 1, exec 'set workload_group=g1'
jdbc connection 2, exec 'set workload_group=g2'
then workload group is choosed.
王博
506340561@qq.com
------------------ 原始邮件 ------------------
发件人: "dev" <joicejacob1910@gmail.com>;
发送时间: 2023年9月6日(星期三) 下午3:18
收件人: "dev"<dev@doris.apache.org>;
主题: Doris Workload group
Hello team,
I've been exploring worker groups within Apache Doris. I've successfully
configured a worker group in the command line using the property ' set
workload_group ' and tested it, and it's functioning as expected.
I have a concern regarding how to choose a particular worker group when
using Apache Doris from an external application.
Thanks & Regards,
Joice Jacob