> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# SHOW RESOURCE GROUP

> SHOW RESOURCE GROUP shows the information of resource groups.

SHOW RESOURCE GROUP shows the information of resource groups.

**Tip**

This operation does not require privileges.

## Syntax

```SQL theme={null}
SHOW { RESOURCE GROUPS [ALL] | RESOURCE GROUP <resource_group_name> }
```

## Parameters

| **Parameter** | **Description** |
| - | - |
| RESOURCE GROUPS | Show the resource groups that match the current user. |
| ALL | Specify this parameter to show all resource groups in the cluster. |
| RESOURCE GROUP | Show the specified resource group. |
| resource\_group\_name | Name of the resource group to be shown. |

## Return

| **Return** | **Description** |
| - | - |
| name | Name of the resource group. |
| id | ID of the resource group. |
| cpu\_weight | CPU scheduling weight of this resource group on a BE node. |
| exclusive\_cpu\_cores | CPU hard isolation parameter for this resource group. |
| mem\_limit | Memory limit of the resource group. |
| big\_query\_cpu\_second\_limit | Big query upper time limit of the resource group. |
| big\_query\_scan\_rows\_limit | Big query scan row limit of the resource group. |
| big\_query\_mem\_limit | Big query memory limit of the resource group. |
| concurrency\_limit | Concurrency limit of the resource group. |
| spill\_mem\_limit\_threshold | Memory usage threshold that triggers spilling to disk. |
| mem\_used\_pct\_limit | Memory usage percentage limit of the resource group. Requires `enable_group_level_query_queue` to be enabled. |
| classifiers | Classifiers that are associated with the resource group. `id` is the ID of the classifier, and `weight` is the degree of matching. |

## Examples

Example 1: Shows all resource groups in the cluster.

```Plain theme={null}
mysql> SHOW RESOURCE GROUPS ALL;
+---------------+------+------------+---------------------+-----------+----------------------------+---------------------------+---------------------+-------------------+---------------------------+---------------------+--------------------+
| name          | id   | cpu_weight | exclusive_cpu_cores | mem_limit | big_query_cpu_second_limit | big_query_scan_rows_limit | big_query_mem_limit | concurrency_limit | spill_mem_limit_threshold | mem_used_pct_limit  | classifiers        |
+---------------+------+------------+---------------------+-----------+----------------------------+---------------------------+---------------------+-------------------+---------------------------+---------------------+--------------------+
| default_mv_wg | 3    | 1          | 0                   | 80.0%     | 0                          | 0                         | 0                   | null              | 80%                       | null                | (id=0, weight=0.0) |
| default_wg    | 2    | 32         | 0                   | 100.0%    | 0                          | 0                         | 0                   | null              | 100%                      | null                | (id=0, weight=0.0) |
+---------------+------+------------+---------------------+-----------+----------------------------+---------------------------+---------------------+-------------------+---------------------------+---------------------+--------------------+
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.