system.replicated_fetches
此系统表中的数据在 ClickHouse Cloud 中的每个节点上本地保存。因此,要获得所有数据的完整视图,需要使用 clusterAllReplicas
函数。有关进一步的详细信息,请参见 这里。
包含有关当前正在运行的后台拉取的信息。
列:
-
database
(String) — 数据库的名称。 -
table
(String) — 表的名称。 -
elapsed
(Float64) — 自当前正在运行的后台拉取开始以来的经过时间(以秒为单位)。 -
progress
(Float64) — 完成工作的百分比,从 0 到 1。 -
result_part_name
(String) — 作为当前正在运行的后台拉取结果形成的部分的名称。 -
result_part_path
(String) — 作为当前正在运行的后台拉取结果形成的部分的绝对路径。 -
partition_id
(String) — 分区的 ID。 -
total_size_bytes_compressed
(UInt64) — 结果部分中压缩数据的总大小(以字节为单位)。 -
bytes_read_compressed
(UInt64) — 从结果部分读取的压缩字节数。 -
source_replica_path
(String) — 源副本的绝对路径。 -
source_replica_hostname
(String) — 源副本的主机名。 -
source_replica_port
(UInt16) — 源副本的端口号。 -
interserver_scheme
(String) — 服务器间方案的名称。 -
URI
(String) — 统一资源标识符。 -
to_detached
(UInt8) — 标志指示当前正在运行的后台拉取是否使用TO DETACHED
表达式执行。 -
thread_id
(UInt64) — 线程标识符。
示例
另请参见