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

> 包含有关队列中等待发送到各分片的本地文件信息的系统表。

# system.distribution_queue

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

包含有关位于队列中、等待发送到各个分片的本地文件的信息。这些本地文件包含新的 parts，这些 parts 是在以异步模式向 Distributed 表插入新数据时创建的。

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

* `database` ([String](/zh/reference/data-types)) — 数据库名称。
* `table` ([String](/zh/reference/data-types)) — 表名称。
* `data_path` ([String](/zh/reference/data-types)) — 包含本地文件的文件夹路径。
* `is_blocked` ([UInt8](/zh/reference/data-types)) — 该标志表示是否禁止向服务器发送本地文件。
* `error_count` ([UInt64](/zh/reference/data-types)) — 错误数量。
* `data_files` ([UInt64](/zh/reference/data-types)) — 文件夹中的本地文件数量。
* `data_compressed_bytes` ([UInt64](/zh/reference/data-types)) — 本地文件中压缩数据的大小，单位为字节。
* `broken_data_files` ([UInt64](/zh/reference/data-types)) — 已标记为损坏 (因错误导致) 的文件数量。
* `broken_data_compressed_bytes` ([UInt64](/zh/reference/data-types)) — 损坏文件中压缩数据的大小，单位为字节。
* `last_exception` ([String](/zh/reference/data-types)) — 最近一次发生的错误的文本消息 (如有) 。
* `last_exception_time` ([DateTime](/zh/reference/data-types)) — 最近一次发生异常的时间。

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

```sql theme={null}
SELECT * FROM system.distribution_queue LIMIT 1 FORMAT Vertical;
```

```text theme={null}
Row 1:
──────
database:              default
table:                 dist
data_path:             ./store/268/268bc070-3aad-4b1a-9cf2-4987580161af/default@127%2E0%2E0%2E2:9000/
is_blocked:            1
error_count:           0
data_files:            1
data_compressed_bytes: 499
last_exception:
```

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

* [Distributed 表引擎](/zh/reference/engines/table-engines/special/distributed)
