title_wip

[Edit this page](https://github.com/ClickHouse/ClickHouse/tree/master/docs/en/operations/system-tables/replicated_fetches.md)

Querying in ClickHouse Cloud

The data in this system table is held locally on each node in ClickHouse Cloud. Obtaining a complete view of all data, therefore, requires the `clusterAllReplicas` function. See [here](/docs/operations/system-tables/overview#system-tables-in-clickhouse-cloud) for further details.

Contains information about currently running background fetches.

Columns:

- `database` ([String](/docs/sql-reference/data-types)) — Name of the database.
- `table` ([String](/docs/sql-reference/data-types)) — Name of the table.
- `elapsed` ([Float64](/docs/sql-reference/data-types)) — The time elapsed (in seconds) since showing currently running background fetches started.
- `progress` ([Float64](/docs/sql-reference/data-types)) — The percentage of completed work from 0 to 1.
- `result_part_name` ([String](/docs/sql-reference/data-types)) — The name of the part that will be formed as the result of showing currently running background fetches.
- `result_part_path` ([String](/docs/sql-reference/data-types)) — Absolute path to the part that will be formed as the result of showing currently running background fetches.
- `partition_id` ([String](/docs/sql-reference/data-types)) — ID of the partition.
- `total_size_bytes_compressed` ([UInt64](/docs/sql-reference/data-types)) — The total size (in bytes) of the compressed data in the result part.
- `bytes_read_compressed` ([UInt64](/docs/sql-reference/data-types)) — The number of compressed bytes read from the result part.
- `source_replica_path` ([String](/docs/sql-reference/data-types)) — Absolute path to the source replica.
- `source_replica_hostname` ([String](/docs/sql-reference/data-types)) — Hostname of the source replica.
- `source_replica_port` ([UInt16](/docs/sql-reference/data-types)) — Port number of the source replica.
- `interserver_scheme` ([String](/docs/sql-reference/data-types)) — Name of the interserver scheme.
- `URI` ([String](/docs/sql-reference/data-types)) — Uniform resource identifier.
- `to_detached` ([UInt8](/docs/sql-reference/data-types)) — The flag indicates whether the currently running background fetch is being performed using the TO DETACHED expression.
- `thread_id` ([UInt64](/docs/sql-reference/data-types)) — Thread identifier.

**Example**

```
SELECT * FROM system.replicated_fetches LIMIT 1 FORMAT Vertical;
```

```
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∂=all_0_0_0&client_protocol_version=4&compress=false
to_detached:                 0
thread_id:                   54
```

**See Also**

- [Managing ReplicatedMergeTree Tables](/docs/sql-reference/statements/system#managing-replicatedmergetree-tables)

Was this page helpful?