You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If user expects to switch back from cpu hard limit to cpu soft limit, then they only need to set ```enable_cpu_hard_limit=false```.
199
199
CPU Soft Limit property ```cpu_share``` will be filled with a valid value of 1024 by default(If the user has never set the cpu_share before), and users can adjust cpu_share based on the priority of Workload Group.
200
+
201
+
# Workload Group权限表
202
+
You can view the Workload Groups that users or roles have access to through the Workload Group privilege table. Authorization related usage can refer to[grant statement](../../sql-manual/sql-statements/Account-Management-Statements/GRANT).
203
+
204
+
This table currently has row level permission control. Root or admin accounts can view all data, while non root/admin accounts can only see data from Workload Groups that they have access to。
205
+
206
+
Schema of Workload Group privilege table is as follow:
207
+
```
208
+
mysql [information_schema]>desc information_schema.workload_group_privileges;
2. workload_group_name, value is the name of Workload Group or '%', where '%' represents all Workload Group.
222
+
3. privilege_type,type of privilege, at present, the value of this column is only Usage_priv。
223
+
4. is_grantable,value is YES or NO, it means whether the user can grant access privilege of Workload Group to other user.Only root/admin user has grant privilege.
224
+
225
+
Basic usage:
226
+
1. Search for Workload Group with authorized access based on username.
227
+
```
228
+
mysql [information_schema]>select * from workload_group_privileges where GRANTEE like '%test_wlg_user%';
Copy file name to clipboardexpand all lines: docs/sql-manual/sql-statements/Show-Statements/SHOW-PROCESSLIST.md
+2
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ SHOW PROCESSLIST
34
34
35
35
Display the running threads of the user. It should be noted that except the root user who can see all running threads, other users can only see their own running threads, and cannot see the running threads of other users.
36
36
37
+
Only display current connected FE's connection list by default, you can set session variable ```set show_all_fe_connection = true``` to show all FE's connection.
Copy file name to clipboardexpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/Account-Management-Statements/REVOKE.md
Copy file name to clipboardexpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/Show-Statements/SHOW-PROCESSLIST.md
Copy file name to clipboardexpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/Account-Management-Statements/REVOKE.md
Copy file name to clipboardexpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/Show-Statements/SHOW-PROCESSLIST.md
Copy file name to clipboardexpand all lines: versioned_docs/version-2.1/sql-manual/sql-statements/Show-Statements/SHOW-PROCESSLIST.md
+2
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ SHOW PROCESSLIST
34
34
35
35
Display the running threads of the user. It should be noted that except the root user who can see all running threads, other users can only see their own running threads, and cannot see the running threads of other users.
36
36
37
+
Only display current connected FE's connection list by default, you can set session variable ```set show_all_fe_connection = true``` to show all FE's connection.
0 commit comments