跳转到主要内容
在 ClickHouse Cloud 中查询此系统表中的数据分别保存在 ClickHouse Cloud 各节点的本地。因此,如需查看所有数据的完整情况,需要使用 clusterAllReplicas 函数。更多详情请参见此处

描述

包含队列中待处理异步插入的信息。

  • query (String) — 查询文本。
  • database (String) — 数据库名。
  • table (String) — 表名。
  • format (String) — 格式名称。
  • first_update (DateTime64(6)) — 首次写入时间 (微秒精度) 。
  • total_bytes (UInt64) — 队列中等待处理的总字节数。
  • entries.query_id (Array(String)) — 队列中等待处理的插入操作的查询 id 数组。
  • entries.bytes (Array(UInt64)) — 队列中等待处理的每个插入查询的字节数数组。

示例

Query
SELECT * FROM system.asynchronous_inserts LIMIT 1 \G;
Response
Row 1:
──────
query:            INSERT INTO public.data_guess (user_id, datasource_id, timestamp, path, type, num, str) FORMAT CSV
database:         public
table:            data_guess
format:           CSV
first_update:     2023-06-08 10:08:54.199606
total_bytes:      133223
entries.query_id: ['b46cd4c4-0269-4d0b-99f5-d27668c6102e']
entries.bytes:    [133223]

另请参阅

最后修改于 2026年6月10日