> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8a08bda2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 包含本地服务器上工作负载信息的系统表。

# system.workloads

<div id="description">
  ## 描述
</div>

包含驻留在本地服务器上的 [工作负载](/zh/concepts/features/configuration/server-config/workload-scheduling#workload_entity_storage) 信息。该表中每个工作负载对应一行。

<div id="columns">
  ## 列
</div>

* `name` ([String](/zh/reference/data-types)) — 工作负载的名称。
* `parent` ([String](/zh/reference/data-types)) — 父工作负载的名称。
* `create_query` ([String](/zh/reference/data-types)) — 该工作负载的 CREATE 查询。

<div id="example">
  ## 示例
</div>

```sql theme={null}
SELECT *
FROM system.workloads
FORMAT Vertical
```

```text theme={null}
Row 1:
──────
name:         production
parent:       all
create_query: CREATE WORKLOAD production IN `all` SETTINGS weight = 9

Row 2:
──────
name:         development
parent:       all
create_query: CREATE WORKLOAD development IN `all`

Row 3:
──────
name:         all
parent:
create_query: CREATE WORKLOAD `all`
```
