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

> 包含服务器支持的字典源列表及其内置文档的系统表。

# system.dictionary_sources

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

包含服务器支持的字典源列表，以及每个源对应的内置文档。字典源决定字典数据从何处加载；可在 `CREATE DICTIONARY` 查询的 `SOURCE` 子句中指定。

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

* `name` ([String](/zh/reference/data-types/index)) — 字典源的名称，即 SOURCE 子句中指定的名称。
* `description` ([String](/zh/reference/data-types/index)) — 对字典源用途的概述。
* `syntax` ([String](/zh/reference/data-types/index)) — 用于指定源的 SOURCE 子句的结构。请注意，当字典通过 DDL 查询创建时 (而非通过服务器配置文件创建) ，某些源会受到访问控制的限制；详情请参见各个源的 `description`。
* `examples` ([String](/zh/reference/data-types/index)) — 使用示例。
* `introduced_in` ([String](/zh/reference/data-types/index)) — 该源首次引入时对应的 ClickHouse 版本，格式为 major.minor。
* `related` ([Array(String)](/zh/reference/data-types/index)) — 相关字典源的名称。

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

```sql title="Query" theme={null}
SELECT name, syntax
FROM system.dictionary_sources
WHERE name IN ('clickhouse', 'file')
ORDER BY name
```

```text title="Response" theme={null}
┌─name───────┬─syntax─────────────────────────────────────────────────────────────────────────┐
│ clickhouse │ SOURCE(CLICKHOUSE(host 'host' port 9000 user 'default' password '' db 'db' table 'table')) │
│ file       │ SOURCE(FILE(path '/path/to/file' format 'CSV'))                                  │
└────────────┴────────────────────────────────────────────────────────────────────────────────┘
```

<div id="see-also">
  ## 另请参见
</div>

* [字典源](/zh/reference/statements/create/dictionary/sources/overview) — 有关字典及其字典源的信息。
