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

> 包含本地服务器上各类资源信息的系统表，每个资源占一行。

# system.resources

<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/index)) — 资源名称。
* `read_disks` ([Array(String)](/zh/reference/data-types/index)) — 使用此资源执行读取操作的磁盘名称列表。
* `write_disks` ([Array(String)](/zh/reference/data-types/index)) — 使用此资源执行写入操作的磁盘名称列表。
* `unit` ([String](/zh/reference/data-types/index)) — 用于成本计量的资源单位。
* `create_query` ([String](/zh/reference/data-types/index)) — 资源的 CREATE 查询语句。

示例：

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

```text theme={null}
Row 1:
──────
name:         io_read
read_disks:   ['s3']
write_disks:  []
create_query: CREATE RESOURCE io_read (READ DISK s3)

Row 2:
──────
name:         io_write
read_disks:   []
write_disks:  ['s3']
create_query: CREATE RESOURCE io_write (WRITE DISK s3)
```
