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

> 包含当前正在运行的后台拉取信息的系统表。

# system.replicated_fetches

<Info>
  **在 ClickHouse Cloud 中查询**

  此系统表中的数据分别保存在 ClickHouse Cloud 各节点的本地。因此，如需查看所有数据的完整情况，需要使用 `clusterAllReplicas` 函数。更多详情请参见[此处](/zh/reference/system-tables/overview#system-tables-in-clickhouse-cloud)。
</Info>

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

包含当前正在运行的后台拉取的信息。

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

* `database` ([String](/zh/reference/data-types)) — 数据库名称。
* `table` ([String](/zh/reference/data-types)) — 表名称。
* `elapsed` ([Float64](/zh/reference/data-types)) — 自显示当前正在运行的后台拉取开始以来经过的时间 (以秒为单位) 。
* `progress` ([Float64](/zh/reference/data-types)) — 已完成工作的比例，范围为 0 到 1。
* `result_part_name` ([String](/zh/reference/data-types)) — 当前正在运行的后台拉取完成后将生成的分片名称。
* `result_part_path` ([String](/zh/reference/data-types)) — 当前正在运行的后台拉取完成后将生成的分片的绝对路径。
* `partition_id` ([String](/zh/reference/data-types)) — 分区 ID。
* `total_size_bytes_compressed` ([UInt64](/zh/reference/data-types)) — 结果分片中压缩数据的总大小 (以字节为单位) 。
* `bytes_read_compressed` ([UInt64](/zh/reference/data-types)) — 从结果分片中读取的压缩字节数。
* `source_replica_path` ([String](/zh/reference/data-types)) — 源副本的绝对路径。
* `source_replica_hostname` ([String](/zh/reference/data-types)) — 源副本的主机名。
* `source_replica_port` ([UInt16](/zh/reference/data-types)) — 源副本的端口号。
* `interserver_scheme` ([String](/zh/reference/data-types)) — 服务器间通信 scheme 的名称。
* `URI` ([String](/zh/reference/data-types)) — 统一资源标识符。
* `to_detached` ([UInt8](/zh/reference/data-types)) — 该标志表示当前正在运行的后台拉取是否使用 TO DETACHED 表达式执行。
* `thread_id` ([UInt64](/zh/reference/data-types)) — 线程标识符。

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

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

```text theme={null}
Row 1:
──────
database:                    default
table:                       t
elapsed:                     7.243039876
progress:                    0.41832135995612835
result_part_name:            all_0_0_0
result_part_path:            /var/lib/clickhouse/store/700/70080a04-b2de-4adf-9fa5-9ea210e81766/all_0_0_0/
partition_id:                all
total_size_bytes_compressed: 1052783726
bytes_read_compressed:       440401920
source_replica_path:         /clickhouse/test/t/replicas/1
source_replica_hostname:     node1
source_replica_port:         9009
interserver_scheme:          http
URI:                         http://node1:9009/?endpoint=DataPartsExchange%3A%2Fclickhouse%2Ftest%2Ft%2Freplicas%2F1&part=all_0_0_0&client_protocol_version=4&compress=false
to_detached:                 0
thread_id:                   54
```

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

* [管理 ReplicatedMergeTree 表](/zh/reference/statements/system#managing-replicatedmergetree-tables)
